PremoteFamily
Bun

property

tls.TLSSocket.remoteFamily

readonly remoteFamily?: string

The string representation of the remote IP family. 'IPv4' or 'IPv6'. Value may be undefined if the socket is destroyed (for example, if the client disconnected).