bufferedAmount property

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

This property is read-only.

Syntax

JavaScript
lNumber = object.bufferedAmount

Property values

Type: unsigned long

Number of bytes in the data buffer.

Remarks

This can be used to determine whether the network can handle the data rate you are sending.

See also

WebSocket
WebSockets in Windows
WebSockets RFC 6455
The WebSocket API

 

 

Show:
© 2014 Microsoft