ClientAddress

View Source

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.

Node.js Reference

family

The family of the client IP address.

Node.js Reference

port

The remote port of the client that sent the request.

Node.js Reference