Websocket peer.
- Implemented types
Properties
- extensions → String
-
Returns the peer extensions.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- protocol → String?
-
The peer protocol.
no setter
- readyState → ReadyState
-
The peer ready state.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
[int? code, String? reason]) → Future< void> - Cloese the websocket.
-
get<
T> (Object? key) → T? -
Gets a value of type
T
.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
remove(
Object? key) → void -
Remove the value already set to the Event.
inherited
-
send(
Message message, [bool? compress]) → void - Send a message.
-
set<
T> (Object? key, T value) → void -
Sets a
value
to the Event forkey
.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited