ClientAddress

A compound type representing the address of any entity sending an HTTP request. Use type to determine which information is available.

Members

Functions

toString
string toString()

Serializes this address in a human-readable string representation.

Static functions

ofIPv4
ClientAddress ofIPv4(IPv4InternetAddress addr)
Undocumented in source. Be warned that the author may not have intended to support it.
ofIPv6
ClientAddress ofIPv6(IPv6InternetAddress addr)
Undocumented in source. Be warned that the author may not have intended to support it.
ofUnixSocket
ClientAddress ofUnixSocket(UnixSocketAddress addr)
Undocumented in source. Be warned that the author may not have intended to support it.
unknown
ClientAddress unknown()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

ipv4InternetAddress
IPv4InternetAddress ipv4InternetAddress;
Undocumented in source.
ipv6InternetAddress
IPv6InternetAddress ipv6InternetAddress;
Undocumented in source.
type
ClientAddressType type;
Undocumented in source.
unixSocketAddress
UnixSocketAddress unixSocketAddress;
Undocumented in source.