binaryType property

BinaryType get binaryType

Returns a string that indicates how binary data from the WebSocket object is exposed to scripts:

Can be set, to change how binary data is returned. The default is "blob".

MDN Reference

Implementation

_i3.BinaryType get binaryType =>
    _i3.BinaryTypeOptions.values.byName(_i4.getProperty(
      this,
      'binaryType',
    ));
set binaryType (BinaryType value)

Implementation

set binaryType(_i3.BinaryType value) {
  _i4.setProperty(
    this,
    'binaryType',
    value.name,
  );
}