Export (0) Print
Expand All

WebSocket API Properties

This section describes the properties of the WebSocket object.

In this section

TopicDescription

binaryType

Returns the type of data received by onmessage.

bufferedAmount

Returns the number of bytes of data (UTF-8 text and binary data) that have been queued using send() but at this time, have not yet been transmitted to the network

extensions

Returns the extensions the server has selected.

protocol

Returns the protocol that the server has selected.

readyState

Returns the state of the WebSocket connection.

url

Returns the resolved URL for the WebSocket connection.

 

 

 

Show:
© 2015 Microsoft