Skip to main content

emit

method Http2Stream.emit
Jump to headingHttp2Stream.emit(event: "aborted"): boolean

Parameters Jump to heading

Jump to headingevent: "aborted"

Return Type Jump to heading

boolean
Jump to headingHttp2Stream.emit(event: "close"): boolean

Parameters Jump to heading

Jump to headingevent: "close"

Return Type Jump to heading

boolean
Jump to headingHttp2Stream.emit(
event: "data",
chunk: Buffer | string,
): boolean

Parameters Jump to heading

Jump to headingevent: "data"
Jump to headingchunk: Buffer | string

Return Type Jump to heading

boolean
Jump to headingHttp2Stream.emit(event: "drain"): boolean

Parameters Jump to heading

Jump to headingevent: "drain"

Return Type Jump to heading

boolean
Jump to headingHttp2Stream.emit(event: "end"): boolean

Parameters Jump to heading

Jump to headingevent: "end"

Return Type Jump to heading

boolean
Jump to headingHttp2Stream.emit(
event: "error",
err: Error,
): boolean

Parameters Jump to heading

Jump to headingevent: "error"

Return Type Jump to heading

boolean
Jump to headingHttp2Stream.emit(event: "finish"): boolean

Parameters Jump to heading

Jump to headingevent: "finish"

Return Type Jump to heading

boolean
Jump to headingHttp2Stream.emit(
event: "frameError",
frameType: number,
errorCode: number,
): boolean

Parameters Jump to heading

Jump to headingevent: "frameError"
Jump to headingframeType: number
Jump to headingerrorCode: number

Return Type Jump to heading

boolean
Jump to headingHttp2Stream.emit(
event: "pipe",
src: stream.Readable,
): boolean

Parameters Jump to heading

Jump to headingevent: "pipe"
Jump to headingsrc: stream.Readable

Return Type Jump to heading

boolean
Jump to headingHttp2Stream.emit(
event: "unpipe",
src: stream.Readable,
): boolean

Parameters Jump to heading

Jump to headingevent: "unpipe"
Jump to headingsrc: stream.Readable

Return Type Jump to heading

boolean
Jump to headingHttp2Stream.emit(
event: "streamClosed",
code: number,
): boolean

Parameters Jump to heading

Jump to headingevent: "streamClosed"
Jump to headingcode: number

Return Type Jump to heading

boolean
Jump to headingHttp2Stream.emit(event: "timeout"): boolean

Parameters Jump to heading

Jump to headingevent: "timeout"

Return Type Jump to heading

boolean
Jump to headingHttp2Stream.emit(
event: "trailers",
flags: number,
): boolean

Parameters Jump to heading

Return Type Jump to heading

boolean
Jump to headingHttp2Stream.emit(event: "wantTrailers"): boolean

Parameters Jump to heading

Jump to headingevent: "wantTrailers"

Return Type Jump to heading

boolean
Jump to headingHttp2Stream.emit(
event: string | symbol,
...args: any[],
): boolean

Parameters Jump to heading

Jump to headingevent: string | symbol
Jump to heading<span>...args</span>: any[]

Return Type Jump to heading

boolean
Back to top