WebSocketResource class abstract

Constructors

WebSocketResource()

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

broadcast(dynamic message, {WebSocket? currentSocket, Iterable<String> rooms = const []}) → void
connect(WebSocket socket) → void
connectSocket(WebSocketChannel socketChannel) → void
disconnect(WebSocket socket) → void
handler(Request request) FutureOr<Response>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onMessage(dynamic data, WebSocket socket) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited