Properties
CLOSED
CLOSED: number
CLOSING
CLOSING: number
CONNECTING
CONNECTING: number
OPEN
OPEN: number
_binaryType
_binaryType: "arraybuffer"
_bufferedAmount
_bufferedAmount: number
_client
_client: client
Optional _connection
_connection: connection
_extensions
_extensions: IExtension[]
Optional _protocol
_protocol: string
_readyState
_readyState: number
_url
_url: string
binaryType
binaryType: "arraybuffer"
bufferedAmount
bufferedAmount: number
extensions
extensions: IExtension[]
onclose
onclose: function
Type declaration
-
- (event: ICloseEvent): void
onerror
onerror: function
onmessage
onmessage: function
Type declaration
-
- (message: IMessageEvent): void
onopen
onopen: function
Optional protocol
protocol: string
readyState
readyState: number
url
url: string
Static CLOSED
CLOSED: number
Static CLOSING
CLOSING: number
Static CONNECTING
CONNECTING: number
Static OPEN
OPEN: number