Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration SocketState

SocketState is used to record the status of the websocket connection.

Index

Enumeration members

Closing

Closing:

The socket is gracefully closing; after this it will become Idle.

Connected

Connected:

The socket is connection and data may be sent.

Connecting

Connecting:

A connection attempt is currently being made.

Idle

Idle: = 1

A connection attempt has not been made yet.

Reconnecting

Reconnecting:

The socket is reconnecting after closing unexpectedly.

Refreshing

Refreshing:

Connect was called whilst the old socket was still open.

Generated using TypeDoc