ClientHttp2Stream - Node documentation
interface ClientHttp2Stream
extends Http2Stream

Usage in Deno

import { type ClientHttp2Stream } from "node:http2";

Methods

addListener(
event: "continue",
listener: () => { },
): this
addListener(
event: "headers",
listener: () => void,
): this
addListener(
event: "push",
listener: (
flags: number,
) => void
,
): this
addListener(
event: "response",
listener: () => void,
): this
addListener(
event: string | symbol,
listener: (...args: any[]) => void,
): this
emit(event: "continue"): boolean
emit(
event: "headers",
flags: number,
): boolean
emit(
event: "push",
flags: number,
): boolean
emit(
event: "response",
flags: number,
): boolean
emit(
event: string | symbol,
...args: any[],
): boolean
on(
event: "continue",
listener: () => { },
): this
on(
event: "headers",
listener: () => void,
): this
on(
event: "push",
listener: (
flags: number,
) => void
,
): this
on(
event: "response",
listener: () => void,
): this
on(
event: string | symbol,
listener: (...args: any[]) => void,
): this
once(
event: "continue",
listener: () => { },
): this
once(
event: "headers",
listener: () => void,
): this
once(
event: "push",
listener: (
flags: number,
) => void
,
): this
once(
event: "response",
listener: () => void,
): this
once(
event: string | symbol,
listener: (...args: any[]) => void,
): this
prependListener(
event: "continue",
listener: () => { },
): this
prependListener(
event: "headers",
listener: () => void,
): this
prependListener(
event: "push",
listener: (
flags: number,
) => void
,
): this
prependListener(
event: "response",
listener: () => void,
): this
prependListener(
event: string | symbol,
listener: (...args: any[]) => void,
): this
prependOnceListener(
event: "continue",
listener: () => { },
): this
prependOnceListener(
event: "headers",
listener: () => void,
): this
prependOnceListener(
event: "push",
listener: (
flags: number,
) => void
,
): this
prependOnceListener(
event: "response",
listener: () => void,
): this
prependOnceListener(
event: string | symbol,
listener: (...args: any[]) => void,
): this