method Http2ServerResponse.prototype.on Usage in Denoimport { Http2ServerResponse } from "node:http2"; Http2ServerResponse.prototype.on(event: "close",listener: () => void,): this Parameters event: "close" listener: () => void Return Type this Http2ServerResponse.prototype.on(event: "drain",listener: () => void,): this Parameters event: "drain" listener: () => void Return Type this Http2ServerResponse.prototype.on(event: "error",listener: (error: Error) => void,): this Parameters event: "error" listener: (error: Error) => void Return Type this Http2ServerResponse.prototype.on(event: "finish",listener: () => void,): this Parameters event: "finish" listener: () => void Return Type this Http2ServerResponse.prototype.on(event: "pipe",listener: (src: stream.Readable) => void,): this Parameters event: "pipe" listener: (src: stream.Readable) => void Return Type this Http2ServerResponse.prototype.on(event: "unpipe",listener: (src: stream.Readable) => void,): this Parameters event: "unpipe" listener: (src: stream.Readable) => void Return Type this Http2ServerResponse.prototype.on(event: string | symbol,listener: (...args: any[]) => void,): this Parameters event: string | symbol listener: (...args: any[]) => void Return Type this