public function VclHandler::vclGetWrapper in Fastly 8.3
Makes get 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.
9 calls to VclHandler::vclGetWrapper()
- VclHandler::checkCondition in src/
VclHandler.php - Checks if condition exists.
- VclHandler::checkIfVclExists in src/
VclHandler.php - Checks if VCL exists.
- VclHandler::checkImageOptimizerStatus in src/
VclHandler.php - Check image optimizer status.
- VclHandler::getAllSnippets in src/
VclHandler.php - Get all snippets.
- VclHandler::getCondition in src/
VclHandler.php - Fetches condition by condition name.
File
- src/
VclHandler.php, line 1076
Class
- VclHandler
- Class to control the VCL handling.
Namespace
Drupal\fastlyCode
public function vclGetWrapper($url, array $headers = [], array $data = []) {
return $this
->vclRequestWrapper($url, $headers, $data, "GET");
}