Skip to main content

WebSocketReadyState

@totemsdk/core


@totemsdk/core / WebSocketReadyState

Variable: WebSocketReadyState

const WebSocketReadyState: object

Type Declaration​

CLOSED​

readonly CLOSED: 3 = 3

CLOSING​

readonly CLOSING: 2 = 2

CONNECTING​

readonly CONNECTING: 0 = 0

OPEN​

readonly OPEN: 1 = 1