Skip to main content
OutgoingMessage.prototype.socket - http - 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
Back to top