remix/node-fetch-server · Interface

View Source

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.

Node.js Reference

family

The family of the client IP address.

When trustProxy is enabled, this may be inferred from trusted proxy headers.

Node.js Reference

port

The remote port of the client that sent the request.

When trustProxy is enabled, this may come from trusted Forwarded headers.

Node.js Reference