method Http2Session.emit
Jump to headingHttp2Session.emit(event: "close"): boolean
Parameters Jump to heading
Jump to headingevent: "close"
Return Type Jump to heading
boolean
Jump to headingHttp2Session.emit(event: "error",err: Error,): boolean
Parameters Jump to heading
Jump to headingevent: "error"
Jump to headingerr: Error
Return Type Jump to heading
boolean
Jump to headingHttp2Session.emit(event: "frameError",frameType: number,errorCode: number,streamID: number,): boolean
Parameters Jump to heading
Jump to headingevent: "frameError"
Jump to headingframeType: number
Jump to headingerrorCode: number
Jump to headingstreamID: number
Return Type Jump to heading
boolean
Jump to headingHttp2Session.emit(event: "goaway",errorCode: number,lastStreamID: number,opaqueData?: Buffer,): boolean
Parameters Jump to heading
Jump to headingevent: "goaway"
Jump to headingerrorCode: number
Jump to headinglastStreamID: number
optional
Jump to headingopaqueData: Buffer
Return Type Jump to heading
boolean
Jump to headingHttp2Session.emit(event: "localSettings",settings: Settings,): boolean
Parameters Jump to heading
Jump to headingevent: "localSettings"
Jump to headingsettings: Settings
Return Type Jump to heading
boolean
Jump to headingHttp2Session.emit(event: "ping"): boolean
Parameters Jump to heading
Jump to headingevent: "ping"
Return Type Jump to heading
boolean
Jump to headingHttp2Session.emit(event: "remoteSettings",settings: Settings,): boolean
Parameters Jump to heading
Jump to headingevent: "remoteSettings"
Jump to headingsettings: Settings
Return Type Jump to heading
boolean
Jump to headingHttp2Session.emit(event: "timeout"): boolean
Parameters Jump to heading
Jump to headingevent: "timeout"
Return Type Jump to heading
boolean
Jump to headingHttp2Session.emit(event: string | symbol,...args: any[],): boolean
Parameters Jump to heading
Jump to headingevent: string | symbol
Jump to heading<span>...args</span>: any[]
Return Type Jump to heading
boolean