method ClientRequest.prototype.once
Usage in Deno
import { ClientRequest } from "node:http";
ClientRequest.prototype.once(event: "connect",listener: () => void,): this
ClientRequest.prototype.once(event: "information",listener: (info: InformationEvent) => void,): this
listener: (info: InformationEvent) => void
this
ClientRequest.prototype.once(event: "response",listener: (response: IncomingMessage) => void,): this
listener: (response: IncomingMessage) => void
this
ClientRequest.prototype.once(event: "socket",listener: (socket: Socket) => void,): this
listener: (socket: Socket) => void
this
ClientRequest.prototype.once(event: "upgrade",listener: () => void,): this