server library
Server-side support for WebSockets.
Classes
- AngelWebSocket
-
Broadcasts events from
HookedService
s, and handles incoming WebSocketActions. - ExposeWs
- Marks a method as available to WebSockets.
- WebSocketAction
- A command sent to the server, usually corresponding to a service method.
- WebSocketContext
-
Represents a WebSocket session, with the original
RequestContext
andResponseContext
attached. - WebSocketController
- A special controller that also supports WebSockets.
-
WebSocketEvent<
Data> - A notification from the server that something has occurred.
Typedefs
- WebSocketResponseSerializer = String Function(dynamic data)