Spry websocket hooks.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
Peer peer, [int? code, String? reason]) → FutureOr< void> - Hooks for websocet close.
-
error(
Peer peer, Object? error) → FutureOr< void> - Hooks for websocket error.
-
message(
Peer peer, Message message) → FutureOr< void> - Hooks for websocket message.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
open(
Peer peer) → FutureOr< void> - Hooks for websocket opened.
-
toString(
) → String -
A string representation of this object.
inherited
-
upgrade(
Event event) → FutureOr< Headers?> - Hooks for upgrading websocket
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited