IncomingWebSocketMessage

Represents a single incoming WebSocket message as an InputStream.

Members

Aliases

read
alias read = InputStream.read
Undocumented in source.

Functions

peek
const(ubyte)[] peek()
Undocumented in source. Be warned that the author may not have intended to support it.
read
size_t read(ubyte[] dst, IOMode mode)
Undocumented in source. Be warned that the author may not have intended to support it.
skipFrame
bool skipFrame()

Retrieve the next websocket frame of the stream and discard the current one

Properties

dataAvailableForRead
bool dataAvailableForRead [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
empty
bool empty [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
frameOpcode
FrameOpcode frameOpcode [@property getter]

The frame type for this nessage;

leastSize
ulong leastSize [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Meta