Skip to content

bodhi-realtime-agent / ClientSocketHealth

Interface: ClientSocketHealth ​

Defined in: src/types/session-client.ts:25

Point-in-time state of the attached client socket, read from the WebSocket itself.

Properties ​

bufferedAmount ​

bufferedAmount: number

Defined in: src/types/session-client.ts:29

Bytes queued on the socket that have not been written to the network yet.


readyState ​

readyState: number

Defined in: src/types/session-client.ts:27

WebSocket readyState: 0 connecting, 1 open, 2 closing, 3 closed.

Built with VitePress