You are here

protected function Cdn::checkCustomHeader in GeoIP API 8.2

Check for a custom geolocation header.

Return value

string The country code specified in the header.

1 call to Cdn::checkCustomHeader()
Cdn::geolocate in src/Plugin/GeoLocator/Cdn.php
Performs geolocation on an address.

File

src/Plugin/GeoLocator/Cdn.php, line 78

Class

Cdn
CDN geolocation provider.

Namespace

Drupal\geoip\Plugin\GeoLocator

Code

protected function checkCustomHeader() {

  // @todo: Implement setting for custom header to check.
  return NULL;
}