Module websocket

Source
Expand description

A service to connect to a server through the WebSocket Protocol.

Structs§

WebSocketService
A WebSocket service attached to a user context.
WebSocketTask
A handle to control the WebSocket connection. Implements Task and could be canceled.

Enums§

FormatError
Represents formatting errors.
WebSocketError
An error encountered by a WebSocket.
WebSocketStatus
The status of a WebSocket connection. Used for status notifications.

Type Aliases§

Binary
A representation of a value which can be stored and restored as a binary.
Text
A representation of a value which can be stored and restored as a text.