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

Parameters

event: "connect"
session: ServerHttp2Session<Http1Request, Http1Response, Http2Request, Http2Response>
socket: net.Socket | tls.TLSSocket

Return Type

boolean
ServerHttp2Session.emit(
event: "stream",
flags: number,
): boolean
Deprecated

Parameters

event: "stream"
flags: number

Return Type

boolean
ServerHttp2Session.emit(
event: string | symbol,
...args: any[],
): boolean
Deprecated

Parameters

event: string | symbol
<span>...args</span>: any[]

Return Type

boolean
Back to top