Skip to main content

emit

method Http2ServerResponse.prototype.emit
Jump to headingHttp2ServerResponse.prototype.emit(event: "close"): boolean

Parameters Jump to heading

Jump to headingevent: "close"

Return Type Jump to heading

boolean
Jump to headingHttp2ServerResponse.prototype.emit(event: "drain"): boolean

Parameters Jump to heading

Jump to headingevent: "drain"

Return Type Jump to heading

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

Parameters Jump to heading

Jump to headingevent: "error"
Jump to headingerror: Error

Return Type Jump to heading

boolean
Jump to headingHttp2ServerResponse.prototype.emit(event: "finish"): boolean

Parameters Jump to heading

Jump to headingevent: "finish"

Return Type Jump to heading

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