jaguar.websocket library
Functions
-
wsEcho(
) → RouteHandler -
wsRespond<
T> (WsOnConnect onConnect, {Encoding encoding}) → RouteHandler -
wsStream<
T> (WsOnConnect onConnect) → RouteHandler -
Data read from
stream
is sent to the websocket. [...]
Typedefs
-
WsOnConnect<
T> (Context ctx, WebSocket ws) → FutureOr< T> -
WsResponder(
dynamic data) → FutureOr