Skip to main content

emit

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(
event: "connect",
socket: net.Socket | tls.TLSSocket,
): boolean

Parameters Jump to heading

Jump to headingevent: "connect"
Jump to headingsocket: net.Socket | tls.TLSSocket

Return Type Jump to heading

boolean
Jump to headingClientHttp2Session.emit(
event: "stream",
flags: number,
): 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
Back to top