Skip to main content

emit

method ServerHttp2Session.emit
Jump to headingServerHttp2Session.emit(
event: "connect",
session: ServerHttp2Session<Http1Request, Http1Response, Http2Request, Http2Response>,
socket: net.Socket | tls.TLSSocket,
): boolean

Parameters Jump to heading

Jump to headingevent: "connect"
Jump to headingsession: ServerHttp2Session<Http1Request, Http1Response, Http2Request, Http2Response>
Jump to headingsocket: net.Socket | tls.TLSSocket

Return Type Jump to heading

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