Listener.Adapter

<p>Empty implementation of {@link Listener}</p>

Members

Functions

onData
void onData(Stream stream, DataFrame frame, Callback callback)
Undocumented in source. Be warned that the author may not have intended to support it.
onHeaders
void onHeaders(Stream stream, HeadersFrame frame)
Undocumented in source. Be warned that the author may not have intended to support it.
onIdleTimeout
bool onIdleTimeout(Stream stream, Exception x)
Undocumented in source. Be warned that the author may not have intended to support it.
onPush
Listener onPush(Stream stream, PushPromiseFrame frame)
Undocumented in source. Be warned that the author may not have intended to support it.
onReset
void onReset(Stream stream, ResetFrame frame, Callback callback)
Undocumented in source. Be warned that the author may not have intended to support it.
onReset
void onReset(Stream stream, ResetFrame frame)
Undocumented in source. Be warned that the author may not have intended to support it.
onTimeout
void onTimeout(Stream stream, Exception x)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From Listener

onHeaders
void onHeaders(Stream stream, HeadersFrame frame)

<p>Callback method invoked when a HEADERS frame representing the HTTP response has been received.</p>

onPush
Listener onPush(Stream stream, PushPromiseFrame frame)

<p>Callback method invoked when a PUSH_PROMISE frame has been received.</p>

onData
void onData(Stream stream, DataFrame frame, Callback callback)

<p>Callback method invoked when a DATA frame has been received.</p>

onReset
void onReset(Stream stream, ResetFrame frame, Callback callback)
Undocumented in source.
onReset
void onReset(Stream stream, ResetFrame frame)

<p>Callback method invoked when a RST_STREAM frame has been received for this stream.</p>

onIdleTimeout
bool onIdleTimeout(Stream stream, Exception x)

<p>Callback method invoked when the stream exceeds its idle timeout.</p>

toString
string toString()
Undocumented in source.
Adapter
class Adapter

<p>Empty implementation of {@link Listener}</p>

Meta