Skip to main content
method Http2SecureServer.emit
Http2SecureServer.emit(
event: "checkContinue",
request: InstanceType<Http2Request>,
response: InstanceType<Http2Response>,
): boolean
Deprecated

Parameters

event: "checkContinue"
request: InstanceType<Http2Request>
response: InstanceType<Http2Response>

Return Type

boolean
Http2SecureServer.emit(
event: "request",
request: InstanceType<Http2Request>,
response: InstanceType<Http2Response>,
): boolean
Deprecated

Parameters

event: "request"
request: InstanceType<Http2Request>
response: InstanceType<Http2Response>

Return Type

boolean
Http2SecureServer.emit(
event: "session",
session: ServerHttp2Session<Http1Request, Http1Response, Http2Request, Http2Response>,
): boolean
Deprecated

Parameters

event: "session"
session: ServerHttp2Session<Http1Request, Http1Response, Http2Request, Http2Response>

Return Type

boolean
Http2SecureServer.emit(
event: "sessionError",
err: Error,
): boolean
Deprecated

Parameters

event: "sessionError"
err: Error

Return Type

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

Parameters

event: "stream"
flags: number

Return Type

boolean
Http2SecureServer.emit(event: "timeout"): boolean
Deprecated

Parameters

event: "timeout"

Return Type

boolean
Http2SecureServer.emit(
event: "unknownProtocol",
socket: tls.TLSSocket,
): boolean
Deprecated

Parameters

event: "unknownProtocol"
socket: tls.TLSSocket

Return Type

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

Parameters

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

Return Type

boolean
Back to top