WebSocket.send
bool send()Try to send buffered data, if any. Returns false if there is still data to send. (only for non-blocking sockets)
auto send(T)(T data)Send a message. You can send a string, a basic type or an array of a basic type.
websocket.send(cast(int)123456);
websocket.send("Hello!");