Rate this page:

WebSocketReadyState

Constants

CLOSED

Copy URL

Connection is closed or cannot be opened.

CLOSING

Copy URL

Connection is closing.

CONNECTING

Copy URL

Connection is in the process.

OPEN

Copy URL

Connection is open and ready to communicate.