method ClientRequest.prototype.once
Usage in Deno
```typescript import { ClientRequest } from "node:node__http.d.ts"; ```
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