ClientHttp2Stream.on - Node documentation
method ClientHttp2Stream.on

Usage in Deno

import { type ClientHttp2Stream } from "node:http2";
ClientHttp2Stream.on(
event: "continue",
listener: () => { },
): this

Parameters

event: "continue"
listener: () => { }

Return Type

this
ClientHttp2Stream.on(
event: "headers",
listener: () => void,
): this

Parameters

event: "headers"
listener: () => void

Return Type

this
ClientHttp2Stream.on(
event: "push",
listener: (
flags: number,
) => void
,
): this

Parameters

event: "push"
listener: (
flags: number,
) => void

Return Type

this
ClientHttp2Stream.on(
event: "response",
listener: () => void,
): this

Parameters

event: "response"
listener: () => void

Return Type

this
ClientHttp2Stream.on(
event: string | symbol,
listener: (...args: any[]) => void,
): this

Parameters

event: string | symbol
listener: (...args: any[]) => void

Return Type

this