Skip to main content

resolve_geo

Function resolve_geo 

Source
pub async fn resolve_geo(
    explicit_tz: Option<&str>,
    proxy: Option<&str>,
) -> Result<Geo, IdentityError>
Expand description

Resolve timezone and country: use the explicit timezone override if provided, otherwise query ip-api.com for the (possibly proxied) exit IP.