[][src]Module seed::browser::web_socket

Structs

Builder

Builder creates a new WebSocket instance.

WebSocket

WebSocket is the most important item in the Web Socket API.

WebSocketMessage

Enums

WebSocketError

WebSocket error enum. You can find more details in documentation for methods that return those errors.

Type Definitions

BinaryType

WebSocket message data is either text or binary. Binary data can be represented as Blob (default) or ArrayBuffer.

Blob

One of the binary data types.

CloseEvent

A CloseEvent is sent to clients using Web Sockets when the connection is closed.

Result

Convenient type alias.

State

Represents the current state of the WebSocket connection.