method ClientHttp2Session.emit
Jump to headingClientHttp2Session.emit(event: "altsvc",alt: string,origin: string,stream: number,): boolean
Parameters Jump to heading
Jump to headingevent: "altsvc"
Jump to headingalt: string
Jump to headingorigin: string
Jump to headingstream: number
Return Type Jump to heading
boolean
Jump to headingClientHttp2Session.emit(event: "origin",origins: readonly string[],): boolean
Parameters Jump to heading
Jump to headingevent: "origin"
Jump to headingorigins: readonly string[]
Return Type Jump to heading
boolean
Jump to headingClientHttp2Session.emit(): boolean
Parameters Jump to heading
Jump to headingevent: "connect"
Jump to headingsession: ClientHttp2Session
Jump to headingsocket: net.Socket | tls.TLSSocket
Return Type Jump to heading
boolean
Jump to headingClientHttp2Session.emit(event: "stream",stream: ClientHttp2Stream,headers: IncomingHttpHeaders & IncomingHttpStatusHeader,flags: number,): boolean
Parameters Jump to heading
Return Type Jump to heading
boolean
Jump to headingClientHttp2Session.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