You are here

public function AkamaiClientBase::purgeUrl in Akamai 8.3

Purges a single URL object.

Parameters

string $url: A URL to clear.

Return value

\GuzzleHttp\Psr7\Response Response to purge request.

File

src/AkamaiClientBase.php, line 224

Class

AkamaiClientBase
Connects to the Akamai EdgeGrid.

Namespace

Drupal\akamai

Code

public function purgeUrl($url) {
  return $this
    ->purgeUrls([
    $url,
  ]);
}