method Http2ServerResponse.prototype.emitHttp2ServerResponse.prototype.emit(event: "close"): booleanDeprecatedParametersevent: "close"Return TypebooleanHttp2ServerResponse.prototype.emit(event: "drain"): booleanDeprecatedParametersevent: "drain"Return TypebooleanHttp2ServerResponse.prototype.emit(event: "error",error: Error,): booleanDeprecatedParametersevent: "error"error: ErrorReturn TypebooleanHttp2ServerResponse.prototype.emit(event: "finish"): booleanDeprecatedParametersevent: "finish"Return TypebooleanHttp2ServerResponse.prototype.emit(event: "pipe",src: stream.Readable,): booleanDeprecatedParametersevent: "pipe"src: stream.ReadableReturn TypebooleanHttp2ServerResponse.prototype.emit(event: "unpipe",src: stream.Readable,): booleanDeprecatedParametersevent: "unpipe"src: stream.ReadableReturn TypebooleanHttp2ServerResponse.prototype.emit(event: string | symbol,...args: any[],): booleanDeprecatedParametersevent: string | symbol<span>...args</span>: any[]Return Typeboolean