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