Skip to main content

emit

method Http2ServerRequest.prototype.emit
Jump to headingHttp2ServerRequest.prototype.emit(
event: "aborted",
hadError: boolean,
code: number,
): boolean

Parameters Jump to heading

Jump to headingevent: "aborted"
Jump to headinghadError: boolean
Jump to headingcode: number

Return Type Jump to heading

boolean
Jump to headingHttp2ServerRequest.prototype.emit(event: "close"): boolean

Parameters Jump to heading

Jump to headingevent: "close"

Return Type Jump to heading

boolean
Jump to headingHttp2ServerRequest.prototype.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 headingHttp2ServerRequest.prototype.emit(event: "end"): boolean

Parameters Jump to heading

Jump to headingevent: "end"

Return Type Jump to heading

boolean
Jump to headingHttp2ServerRequest.prototype.emit(event: "readable"): boolean

Parameters Jump to heading

Jump to headingevent: "readable"

Return Type Jump to heading

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

Parameters Jump to heading

Jump to headingevent: "error"

Return Type Jump to heading

boolean
Jump to headingHttp2ServerRequest.prototype.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