Declared in “ark/geoip/maxmind_request.hh”:

  • GeoipResponse fetch_geoip(const std::string & account_id, const std::string & license_key, const std::string & ip_address)
    Executes a blocking call to the Geolite (MaxMind) GEOIP servers, using the given credentials. This will return a response that contains any available positioning information.

  • GeoipResponse parse_geolite_response(const std::string_view & response)
    Parses the response from the Geolite server. Used for testing that we can parse their messages properly.