method Http2Session.addListener
Jump to headingHttp2Session.addListener(event: "close",listener: () => void,): this
Parameters Jump to heading
Jump to headingevent: "close"
Jump to headinglistener: () => void
Return Type Jump to heading
this
Jump to headingHttp2Session.addListener(event: "error",listener: (err: Error) => void,): this
Parameters Jump to heading
Jump to headingevent: "error"
Jump to headinglistener: (err: Error) => void
Return Type Jump to heading
this
Jump to headingHttp2Session.addListener(event: "frameError",listener: (frameType: number,errorCode: number,streamID: number,) => void,): this
Parameters Jump to heading
Jump to headingevent: "frameError"
Jump to headinglistener: (frameType: number,errorCode: number,streamID: number,) => void
Return Type Jump to heading
this
Jump to headingHttp2Session.addListener(event: "goaway",listener: (errorCode: number,lastStreamID: number,opaqueData?: Buffer,) => void,): this
Parameters Jump to heading
Jump to headingevent: "goaway"
Jump to headinglistener: (errorCode: number,lastStreamID: number,opaqueData?: Buffer,) => void
Return Type Jump to heading
this
Jump to headingHttp2Session.addListener(event: "localSettings",listener: (settings: Settings) => void,): this
Parameters Jump to heading
Jump to headingevent: "localSettings"
Jump to headinglistener: (settings: Settings) => void
Return Type Jump to heading
this
Jump to headingHttp2Session.addListener(event: "ping",listener: () => void,): this
Parameters Jump to heading
Jump to headingevent: "ping"
Jump to headinglistener: () => void
Return Type Jump to heading
this
Jump to headingHttp2Session.addListener(event: "remoteSettings",listener: (settings: Settings) => void,): this
Parameters Jump to heading
Jump to headingevent: "remoteSettings"
Jump to headinglistener: (settings: Settings) => void
Return Type Jump to heading
this
Jump to headingHttp2Session.addListener(event: "timeout",listener: () => void,): this
Parameters Jump to heading
Jump to headingevent: "timeout"
Jump to headinglistener: () => void
Return Type Jump to heading
this
Jump to headingHttp2Session.addListener(event: string | symbol,listener: (...args: any[]) => void,): this
Parameters Jump to heading
Jump to headingevent: string | symbol
Jump to headinglistener: (...args: any[]) => void
Return Type Jump to heading
this