ВОЙТИ

WebSocketReadyState

  • CLOSED

    Connection is closed or couldn't be opened.

  • CLOSING

    Normal connection closure.

  • CONNECTING

    Connection is in the process of closing.

  • OPEN

    Connection is open and ready to communicate.

Enum constants

CLOSED

Connection is closed or couldn't be opened.

CLOSING

Normal connection closure.

CONNECTING

Connection is in the process of closing.

OPEN

Connection is open and ready to communicate.