new ClientLocation()
Details relating to the network and geographic location of a client session.
Properties:
Name |
Type |
Description |
address |
String
|
the IP address of the client |
hostname |
String
|
the host name |
resolved |
String
|
the resolved name |
details |
Object
|
the country details
Properties
Name |
Type |
Description |
country |
String
|
the country code for the country where the IP address was allocated |
language |
String
|
the country code for the official language of the country where the IP address
was allocated |
|
coordinates |
Object
|
the geographic coordinates of the client if this could be ascertained
Properties
Name |
Type |
Description |
latitude |
Number
|
the latitude |
longitude |
Number
|
the longitude |
|
type |
diffusion.clients.AddressType
|
the address type |