Skip to main content

once

method ClientHttp2Stream.once
Jump to headingClientHttp2Stream.once(
event: "continue",
listener: () => { },
): this

Parameters Jump to heading

Jump to headingevent: "continue"
Jump to headinglistener: () => { }

Return Type Jump to heading

this
Jump to headingClientHttp2Stream.once(
event: "headers",
listener: () => void,
): this

Parameters Jump to heading

Jump to headingevent: "headers"
Jump to headinglistener: () => void

Return Type Jump to heading

this
Jump to headingClientHttp2Stream.once(
event: "push",
listener: (
flags: number,
) => void
,
): this

Parameters Jump to heading

Jump to headingevent: "push"
Jump to headinglistener: (
flags: number,
) => void

Return Type Jump to heading

this
Jump to headingClientHttp2Stream.once(
event: "response",
listener: () => void,
): this

Parameters Jump to heading

Jump to headingevent: "response"
Jump to headinglistener: () => void

Return Type Jump to heading

this
Jump to headingClientHttp2Stream.once(
event: string | symbol,
listener: (...args: any[]) => void,
): this

Parameters Jump to heading

Jump to headingevent: string | symbol
Jump to headinglistener: (...args: any[]) => void

Return Type Jump to heading

this
Back to top