Skip to main content
method ClientHttp2Stream.once
ClientHttp2Stream.once(
event: "continue",
listener: () => { },
): this
Deprecated

Parameters

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

Return Type

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

Parameters

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

Return Type

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

Parameters

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

Return Type

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

Parameters

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

Return Type

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

Parameters

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

Return Type

this
Back to top