This topic has not yet been rated - Rate this topic

binaryType property

Returns the type of data received by onmessage.

This property is read/write.

Syntax

JavaScript
object.binaryType = binaryType
binaryType = object.binaryType

Property values

Type: DOMString

The type of data received.

ValueCondition
blob

Represents raw data. The event's data property is initialized to a blob object. See msStreamReader.readAsBlob.

arrayBuffer

Represents a binary data buffer. The event's data property is initialized to an ArrayBuffer object. See FileReader.readAsArrayBuffer.

 

See also

WebSocket

 

 

Send comments about this topic to Microsoft

Build date: 11/8/2012

Community Additions

ADD
© 2013 Microsoft. All rights reserved.