public function CDNBase::request in Libraries CDN API 7
Make an HTTP Request.
TODO: Do not use drupal_http_request.
Parameters
string $url: The URL.
Overrides CDNBaseInterface::request
2 calls to CDNBase::request()
- CDNBase::getLocalCopy in src/
Type/ CDNBase.php - Copy a library from the CDN to the local filesystem.
- CDNBase::query in src/
Type/ CDNBase.php - Request wrapper for querying a CDN.
File
- src/
Type/ CDNBase.php, line 110 - Class CDNBase.
Class
- CDNBase
- Class CDNBase.
Namespace
Drupal\libraries_cdn\TypeCode
public function request($url) {
return (array) $this->drupal7
->drupal_http_request($url, (array) $this
->getConfiguration('request'));
}