Function WebSocket.receive
Receives a new message using an InputStream.
void receive
(
scope @safe void delegate(scope IncomingWebSocketMessage) receiver
) scope scope @safe;
Throws
WebSocketException if the connection is closed.