Set the default HTTP headers to add to each request created by the client
Parameters
array|Collection $headers Default HTTP headers:
Return value
ClientInterface
File
- drupal/core/vendor/guzzle/http/Guzzle/Http/ClientInterface.php, line 77
Class
- ClientInterface
- Client interface for send HTTP requests
Namespace
Guzzle\Http
Code
public function setDefaultHeaders($headers);