ClientHttp2Stream.emit - Node documentation
method ClientHttp2Stream.emit

Usage in Deno

import { type ClientHttp2Stream } from "node:http2";
ClientHttp2Stream.emit(event: "continue"): boolean

Parameters

event: "continue"

Return Type

boolean
ClientHttp2Stream.emit(
event: "headers",
flags: number,
): boolean

Parameters

event: "headers"
flags: number

Return Type

boolean
ClientHttp2Stream.emit(
event: "push",
flags: number,
): boolean

Parameters

event: "push"
flags: number

Return Type

boolean
ClientHttp2Stream.emit(
event: "response",
flags: number,
): boolean

Parameters

event: "response"
flags: number

Return Type

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

Parameters

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

Return Type

boolean