Skip to main content
ClientHttp2Stream.emit - node__http2.d.ts - Node documentation
method ClientHttp2Stream.emit

Usage in Deno

```typescript import { type ClientHttp2Stream } from "node:node__http2.d.ts"; ```
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