Skip to main content
ClientRequest.prototype.onSocket - http - Node documentation
method ClientRequest.prototype.onSocket

Usage in Deno

import { ClientRequest } from "node:http";
ClientRequest.prototype.onSocket(socket: Socket): void

Parameters

socket: Socket

Return Type

void