Method WebSocket.send
Overload group
Sends a text message.
On the JavaScript side, the text will be available as message.data (type string).
Prototype
void send( string data );
Overload group
Sends a binary message.
On the JavaScript side, the text will be available as message.data (type Blob).
Prototype
void send( ubyte[] data );
Overload group
Sends a message using an output stream.
Prototype
void send( scope void delegate(scope OutgoingWebSocketMessage) sender, FrameOpcode frameOpcode );
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.