ServerHttp2Session.emit - Node documentation
method ServerHttp2Session.emit

Usage in Deno

import { type ServerHttp2Session } from "node:http2";
ServerHttp2Session.emit(
event: "connect",
socket: net.Socket | tls.TLSSocket,
): boolean

Parameters

event: "connect"
socket: net.Socket | tls.TLSSocket

Return Type

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

Parameters

event: "stream"
flags: number

Return Type

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

Parameters

event: string | symbol
...args: any[]

Return Type

boolean