CloseMethodStreamCommand class
A message sent over a websocket connection to close a websocket stream of data to an endpoint method.
- Inheritance
-
- Object
- WebSocketMessage
- CloseMethodStreamCommand
Constructors
- CloseMethodStreamCommand(Map data)
- Creates a new CloseMethodStreamCommand.
Properties
- connectionId → UuidValue
-
The connection id that uniquely identifies the stream.
final
- endpoint → String
-
The endpoint associated with the stream.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- method → String
-
The method associated with the stream.
final
- parameter → String?
-
The parameter associated with the stream.
If this is null the close command targets the return stream of the method.
final
- reason → CloseReason
-
The reason the stream was closed.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
buildMessage(
{required String endpoint, required UuidValue connectionId, String? parameter, required String method, required CloseReason reason}) → String - Creates a new CloseMethodStreamCommand message.