OutgoingMessage.prototype.socket - Node documentation
property OutgoingMessage.prototype.socket

Usage in Deno

import { OutgoingMessage } from "node:http";

Reference to the underlying socket. Usually, users will not want to access this property.

After calling outgoingMessage.end(), this property will be nulled.

Type

Socket | null