IoWebSocketConnection class
TransportConnection over a server-side dart:io WebSocket.
- Implemented types
Constructors
- IoWebSocketConnection(WebSocket _webSocket)
- Constructor
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
incoming
→ Stream<
List< int> > -
Stream of incoming data, one event per message sent by the peer.
no setteroverride
- isConnected → bool
-
Whether the connection is active
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
) → Future< void> -
Close the connection
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
send(
List< int> data) → Future<void> -
Send
dataas a single message.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited