binaryType

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

MDN Reference