You are here

public static function WebServiceUtilityInterface::sendRequest in Smart IP 8.3

Same name and namespace in other branches
  1. 8.4 src/WebServiceUtilityInterface.php \Drupal\smart_ip\WebServiceUtilityInterface::sendRequest()
  2. 8.2 src/WebServiceUtilityInterface.php \Drupal\smart_ip\WebServiceUtilityInterface::sendRequest()

Perform HTTP request to the Smart IP's data source module web service.

Parameters

string $url: URL provided by Smart IP's data source module web service for geolocation query.

Return value

string Raw Geolocation data returned by Smart IP's data source module web service.

1 method overrides WebServiceUtilityInterface::sendRequest()
WebServiceUtilityBase::sendRequest in src/WebServiceUtilityBase.php
Perform HTTP request to the Smart IP's data source module web service.

File

src/WebServiceUtilityInterface.php, line 37
Contains \Drupal\smart_ip\WebServiceUtilityInterface.

Class

WebServiceUtilityInterface
Provides an interface for Smart IP's data source modules for its web service.

Namespace

Drupal\smart_ip

Code

public static function sendRequest($url);