Connector.onStreamExit

Callback function invoked when the stream |stream_id| is closed. The reason of closure is indicated by the |error_code|. The |error_code| is usually one of FrameError, but that is not guaranteed.

This function is also called for a stream in reserved state.

If this callback returns false, it is treated as fatal error and Session.recv and Session.send functions immediately return ErrorCode.CALLBACK_FAILURE.

class Connector
public
bool
onStreamExit

Meta