binaryType

open external var binaryType: BinaryType(source)

The WebSocket.binaryType property controls the type of binary data being received over the WebSocket connection.

MDN Reference