MyCallbacks

Undocumented in source.

Members

Functions

onDataChunk
bool onDataChunk(FrameFlags flags, int stream_id, ubyte[] data, bool pause)
Undocumented in source. Be warned that the author may not have intended to support it.
onDataChunkPause
bool onDataChunkPause(FrameFlags flags, int stream_id, ubyte[] data, bool pause)
Undocumented in source. Be warned that the author may not have intended to support it.
onFrame
bool onFrame(Frame frame)
Undocumented in source. Be warned that the author may not have intended to support it.
onFrameFailure
bool onFrameFailure(Frame frame, ErrorCode lib_error)
Undocumented in source. Be warned that the author may not have intended to support it.
onFrameHeader
bool onFrameHeader(FrameHeader hd)
Undocumented in source. Be warned that the author may not have intended to support it.
onFrameSent
bool onFrameSent(Frame frame)
Undocumented in source. Be warned that the author may not have intended to support it.
onFrameSentTwice
bool onFrameSentTwice(Frame frame)
Undocumented in source. Be warned that the author may not have intended to support it.
onHeaderField
bool onHeaderField(Frame frame, HeaderField hf, bool pause, bool rst_stream)
Undocumented in source. Be warned that the author may not have intended to support it.
onHeaderFieldPause
bool onHeaderFieldPause(Frame frame, HeaderField hf, bool pause, bool rst_stream)
Undocumented in source. Be warned that the author may not have intended to support it.
onHeaderFieldRstStream
bool onHeaderFieldRstStream(Frame frame, HeaderField hf, bool pause, bool rst_stream)
Undocumented in source. Be warned that the author may not have intended to support it.
onHeaders
bool onHeaders(Frame frame)
Undocumented in source. Be warned that the author may not have intended to support it.
onInvalidFrame
bool onInvalidFrame(Frame frame, FrameError error_code)
Undocumented in source. Be warned that the author may not have intended to support it.
onStreamExit
bool onStreamExit(int stream_id, FrameError error_code)
Undocumented in source. Be warned that the author may not have intended to support it.
readScripted
int readScripted(ubyte[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
selectPaddingLength
int selectPaddingLength(Frame frame, int max_payloadlen)
Undocumented in source. Be warned that the author may not have intended to support it.
writeData
ErrorCode writeData(Frame frame, ubyte[] framehd, uint length)
Undocumented in source. Be warned that the author may not have intended to support it.
writeFixedBytes
int writeFixedBytes(ubyte[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
writeToAccumulator
int writeToAccumulator(ubyte[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
writeWouldBlock
int writeWouldBlock(ubyte[] data)
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

readEOF
int readEOF(ubyte[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
smallestMaxFrameSize
int smallestMaxFrameSize(FrameType frame_type, int stream_id, int session_remote_window_size, int stream_remote_window_size, uint remote_max_frame_size)
Undocumented in source. Be warned that the author may not have intended to support it.
tooLargeMaxFrameSize
int tooLargeMaxFrameSize(FrameType frame_type, int stream_id, int session_remote_window_size, int stream_remote_window_size, uint remote_max_frame_size)
Undocumented in source. Be warned that the author may not have intended to support it.
writeFailure
int writeFailure(ubyte[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
writeNull
int writeNull(ubyte[] data)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

session
Session* session;
Undocumented in source.
user_data
MyUserData* user_data;
Undocumented in source.

Meta