WebSocketLike
Defined in: client/client.ts:32
The subset of the browser WebSocket API the client uses.
Properties
Section titled “Properties”onclose
Section titled “onclose”onclose: ((
event) =>void) |null
Defined in: client/client.ts:38
onerror?
Section titled “onerror?”
optionalonerror?: ((event) =>void) |null
Defined in: client/client.ts:39
onmessage
Section titled “onmessage”onmessage: ((
event) =>void) |null
Defined in: client/client.ts:37
onopen
Section titled “onopen”onopen: ((
event) =>void) |null
Defined in: client/client.ts:36
readyState
Section titled “readyState”
readonlyreadyState:number
Defined in: client/client.ts:33
Methods
Section titled “Methods”close()
Section titled “close()”close(
code?,reason?):void
Defined in: client/client.ts:35
Parameters
Section titled “Parameters”number
reason?
Section titled “reason?”string
Returns
Section titled “Returns”void
send()
Section titled “send()”send(
data):void
Defined in: client/client.ts:34
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”void
