2.1 KiB
Interface: Geo
The location information of a given request.
Table of contents
Properties
Properties
city
• Optional city: string
The city that the request originated from.
Defined in
packages/edge/src/edge-headers.ts:50
country
• Optional country: string
The country that the request originated from.
Defined in
packages/edge/src/edge-headers.ts:53
countryRegion
• Optional countryRegion: string
The region part of the ISO 3166-2 code of the client IP. See docs.
Defined in
packages/edge/src/edge-headers.ts:64
flag
• Optional flag: string
The flag emoji for the country the request originated from.
Defined in
packages/edge/src/edge-headers.ts:56
latitude
• Optional latitude: string
The latitude of the client.
Defined in
packages/edge/src/edge-headers.ts:67
longitude
• Optional longitude: string
The longitude of the client.
Defined in
packages/edge/src/edge-headers.ts:70
region
• Optional region: string
The Vercel Edge Network region that received the request.