You are here

public function AcquiaPurgeExecutorInterface::requestsExecute in Acquia Purge 7

Execute a series of HTTP requests efficiently through cURL's multi handler.

Parameters

AcquiaPurgeExecutorRequestInterface[] $requests: Unassociative list of request objects created by ::getRequest(). The properties 'scheme', 'method', 'uri' are used for executing the request. The properties 'result', 'error_curl', 'response_code' and 'error_debug' are updated during execution.

string $no_ssl_verify: Skip host and peer verification, don't use for requests that include sensitive data (e.g. API keys).

1 method overrides AcquiaPurgeExecutorInterface::requestsExecute()
AcquiaPurgeExecutorBase::requestsExecute in lib/executor/AcquiaPurgeExecutorBase.php
Execute a series of HTTP requests efficiently through cURL's multi handler.

File

lib/executor/AcquiaPurgeExecutorInterface.php, line 81
Contains AcquiaPurgeExecutorInterface.

Class

AcquiaPurgeExecutorInterface
Describes an executor, which is responsible for taking a set of invalidation objects and wiping these paths/URLs from an external cache.

Code

public function requestsExecute($requests, $no_ssl_verify = FALSE);