Method WebSocket.receive

Overload group

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

Prototype

ubyte[] receive();

Overload group

Receives a new message using an InputStream.

Prototype

void receive(
  scope void delegate(scope IncomingWebSocketMessage) receiver
);

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.