Method WebSocket.receiveBinary

Receives a new message and returns its contents as a newly allocated data array.

Prototypes

ubyte[] receiveBinary(
  bool strict
);

string receiveText(
  bool strict
);

Parameters

NameDescription
strict If set, ensures the exact frame type (text/binary) is received and throws an execption otherwise.

Authors

Jan Krüger

Copyright

© 2012 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.