server library

Server-side support for WebSockets.

Classes

AngelWebSocket
Broadcasts events from HookedServices, 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 and ResponseContext attached.
WebSocketController
A special controller that also supports WebSockets.
WebSocketEvent<Data>
A notification from the server that something has occurred.
WebSocketEventTable

Typedefs

WebSocketResponseSerializer = String Function(dynamic data)