public static Drupal::httpClient()
Returns the default http client.
Return value
\GuzzleHttp\Client A guzzle http client instance.
File
- core/lib/Drupal.php, line 418
- Contains \Drupal.
Class
- Drupal
- Static Service Container wrapper.
Code
1 2 3 | public static function httpClient() { return static ::getContainer()->get( 'http_client' ); } |
Please login to continue.