WebSocket.receive

Receives a new message using an InputStream.

class WebSocket
@safe scope
void
receive
(
scope void delegate @safe receiver
)

Throws

WebSocketException if the connection is closed.

Meta