WebSocket.readBufferNext

Waits for the next message and reads it as a buffer.

class WebSocket
final
bool
readBufferNext
(
out ubyte[] buffer
)

Return Value

Type: bool

True if the message was received, false otherwise (Ex. connection closed.)

Meta