method ClientRequest.prototype.once
#ClientRequest.prototype.once(event: "abort",listener: () => void,): this
#ClientRequest.prototype.once(event: "connect",listener: () => void,): this
#ClientRequest.prototype.once(event: "continue",listener: () => void,): this
#ClientRequest.prototype.once(event: "information",listener: (info: InformationEvent) => void,): this
Parameters #
#event: "information"
#listener: (info: InformationEvent) => void
Return Type #
this
#ClientRequest.prototype.once(event: "response",listener: (response: IncomingMessage) => void,): this
Parameters #
#event: "response"
#listener: (response: IncomingMessage) => void
Return Type #
this
#ClientRequest.prototype.once(event: "timeout",listener: () => void,): this
#ClientRequest.prototype.once(event: "upgrade",listener: () => void,): this
#ClientRequest.prototype.once(event: "close",listener: () => void,): this
#ClientRequest.prototype.once(event: "drain",listener: () => void,): this
#ClientRequest.prototype.once(event: "error",listener: (err: Error) => void,): this
#ClientRequest.prototype.once(event: "finish",listener: () => void,): this
#ClientRequest.prototype.once(event: "pipe",listener: (src: stream.Readable) => void,): this
#ClientRequest.prototype.once(event: "unpipe",listener: (src: stream.Readable) => void,): this