Interface which specifies a request stream to receive request notifications.
Called when the request stream is removed, or the session is closed.
Notification of a contextual error related to this stream. This is
analogous to an Error being thrown. Situations in which
onError is called include being unable to parse the request
with the data type the stream was registered with. No further calls will
be made to this stream.
Called to indicate a request has been received.
the path the request was sent on
the request that was received
the responder to dispatch a response back to the requester