public function VclHandler::vclPutWrapper in Fastly 8.3
Makes put request via vclRequestWrapper.
Parameters
string $url: The uri to use for the request, appended to the host.
array $headers: (optional) An array of headers to send with the request.
array $data: (optional) Data to send with the request.
Return value
\Psr\Http\Message\ResponseInterface vclQuery.
1 call to VclHandler::vclPutWrapper()
- VclHandler::cloneLastActiveVersion in src/
VclHandler.php - Creates and returns cloned version number.
File
- src/
VclHandler.php, line 1093
Class
- VclHandler
- Class to control the VCL handling.
Namespace
Drupal\fastlyCode
public function vclPutWrapper($url, array $headers = [], array $data = []) {
return $this
->vclRequestWrapper($url, $headers, $data, "PUT");
}