method Http2ServerRequest.prototype.once
Overload 1
#Http2ServerRequest.prototype.once(event: "aborted",listener: (hadError: boolean,code: number,) => void,): this
Overload 2
#Http2ServerRequest.prototype.once(event: "close",listener: () => void,): this
Overload 3
#Http2ServerRequest.prototype.once(event: "data",listener: (chunk: Buffer | string) => void,): this
Overload 4
#Http2ServerRequest.prototype.once(event: "end",listener: () => void,): this
Overload 5
#Http2ServerRequest.prototype.once(event: "readable",listener: () => void,): this
Overload 6
#Http2ServerRequest.prototype.once(event: "error",listener: (err: Error) => void,): this