You are here

class MaxmindGeoip2WebService in Smart IP 8.4

Same name and namespace in other branches
  1. 8.3 modules/smart_ip_maxmind_geoip2_web_service/src/MaxmindGeoip2WebService.php \Drupal\smart_ip_maxmind_geoip2_web_service\MaxmindGeoip2WebService

Hierarchy

Expanded class hierarchy of MaxmindGeoip2WebService

2 files declare their use of MaxmindGeoip2WebService
SmartIpEventSubscriber.php in modules/smart_ip_maxmind_geoip2_web_service/src/EventSubscriber/SmartIpEventSubscriber.php
Contains \Drupal\smart_ip_maxmind_geoip2_web_service\EventSubscriber\SmartIpEventSubscriber.
WebServiceUtility.php in modules/smart_ip_maxmind_geoip2_web_service/src/WebServiceUtility.php
Contains \Drupal\smart_ip_maxmind_geoip2_web_service\WebServiceUtility.

File

modules/smart_ip_maxmind_geoip2_web_service/src/MaxmindGeoip2WebService.php, line 10
Contains \Drupal\smart_ip_maxmind_geoip2_web_service\MaxmindGeoip2WebService.

Namespace

Drupal\smart_ip_maxmind_geoip2_web_service
View source
class MaxmindGeoip2WebService {

  /**
   * MaxMind GeoIP2 Precision web service base query URL.
   */
  const BASE_URL = 'geoip.maxmind.com/geoip/v2.1';

  /**
   * MaxMind GeoIP2 Precision web service Country service.
   */
  const COUNTRY_SERVICE = 'country';

  /**
   * MaxMind GeoIP2 Precision web service City service.
   */
  const CITY_SERVICE = 'city';

  /**
   * MaxMind GeoIP2 Precision web service Insights service.
   */
  const INSIGHTS_SERVICE = 'insights';

}

Members

Namesort descending Modifiers Type Description Overrides
MaxmindGeoip2WebService::BASE_URL constant MaxMind GeoIP2 Precision web service base query URL.
MaxmindGeoip2WebService::CITY_SERVICE constant MaxMind GeoIP2 Precision web service City service.
MaxmindGeoip2WebService::COUNTRY_SERVICE constant MaxMind GeoIP2 Precision web service Country service.
MaxmindGeoip2WebService::INSIGHTS_SERVICE constant MaxMind GeoIP2 Precision web service Insights service.