ClientAddress
Summary
Information about the client that sent a request.
Signature
interface ClientAddress {
address: string
family: 'IPv4' | 'IPv6'
port: number
}
Properties
address
The IP address of the client that sent the request.
When trustProxy is enabled, this may come from trusted proxy headers.
family
The family of the client IP address.
When trustProxy is enabled, this may be inferred from trusted proxy headers.
port
The remote port of the client that sent the request.
When trustProxy is enabled, this may come from trusted Forwarded headers.