public function Fastly::purgeKey in Fastly 7
Same name and namespace in other branches
- 7.2 fastly.api.inc \Fastly::purgeKey()
Purge cache by key.
File
- ./
fastly.api.inc, line 146 - Contains Faslt class that handles API calls to the Fastly service.
Class
- Fastly
- Fastly API for Drupal.
Code
public function purgeKey($key) {
$this
->query('service/' . $this->service_id . '/purge/' . $key, array(), 'POST');
}