Psocket
Bun

property

http.OutgoingMessage.socket

readonly socket: null | Socket

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

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