The subset of the web WebSocket API the runtime adapters drive. Declared structurally so no module depends on a platform's global types and a fake can stand in during unit tests.
WebSocket
0.2.0
Readonly
Numeric ready state, per the web WebSocket API.
Closes the socket.
Optional
RFC 6455 close code
Close reason
Sends a text or binary frame.
The frame payload
The subset of the web
WebSocketAPI the runtime adapters drive. Declared structurally so no module depends on a platform's global types and a fake can stand in during unit tests.Since
0.2.0