Companion

external object Companion(source)

Properties

Link copied to clipboard
external val CLOSED: Double

An Integer constant equal to 3, the readyState value once the connection is closed.

Link copied to clipboard
external val CLOSING: Double

An Integer constant equal to 2, the readyState value while the closing handshake is in progress.

Link copied to clipboard
external val CONNECTING: Double

An Integer constant equal to 0, the readyState value while the opening handshake is in progress.

Link copied to clipboard
external val OPEN: Double

An Integer constant equal to 1, the readyState value once the connection is established.