class Client

HTTP client

Hierarchy

Expanded class hierarchy of Client

File

drupal/core/vendor/guzzle/http/Guzzle/Http/Client.php, line 21

Namespace

Guzzle\Http
View source

Members

Namesort descending Modifiers Type Description Overrides
AbstractHasDispatcher::$eventDispatcher protected property
AbstractHasDispatcher::addSubscriber public function Add an event subscriber to the dispatcher Overrides HasDispatcherInterface::addSubscriber
AbstractHasDispatcher::dispatch public function Helper to dispatch Guzzle events and set the event name on the event Overrides HasDispatcherInterface::dispatch
AbstractHasDispatcher::getEventDispatcher public function Get the EventDispatcher of the request Overrides HasDispatcherInterface::getEventDispatcher
AbstractHasDispatcher::setEventDispatcher public function Set the EventDispatcher of the request Overrides HasDispatcherInterface::setEventDispatcher
Client::$baseUrl private property
Client::$config private property
Client::$curlMulti private property
Client::$defaultHeaders protected property
Client::$requestFactory protected property
Client::$uriTemplate private property
Client::createRequest public function Create and return a new { Use an absolute path to override the base path of the client, or a relative path to append to the base path of the client. The URI can contain the query string as well. Use an array to provide a URI template and… Overrides ClientInterface::createRequest
Client::CURL_OPTIONS constant
Client::delete public function Create a DELETE request for the client Overrides ClientInterface::delete
Client::DISABLE_REDIRECTS constant
Client::expandTemplate public function Expand a URI template using client configuration data Overrides ClientInterface::expandTemplate
Client::get public function Create a GET request for the client Overrides ClientInterface::get
Client::getAllEvents public static function Get a list of all of the events emitted from the class Overrides AbstractHasDispatcher::getAllEvents
Client::getBaseUrl public function Get the client's base URL as either an expanded or raw URI template Overrides ClientInterface::getBaseUrl
Client::getConfig final public function Get a configuration setting or all of the configuration settings Overrides ClientInterface::getConfig
Client::getCurlMulti public function Get the curl multi object to be used internally by the client for transferring requests. Overrides ClientInterface::getCurlMulti
Client::getDefaultHeaders public function Get the default HTTP headers to add to each request created by the client Overrides ClientInterface::getDefaultHeaders
Client::getUriTemplate public function Get the URI template expander used by the client Overrides ClientInterface::getUriTemplate
Client::head public function Create a HEAD request for the client Overrides ClientInterface::head
Client::options public function Create an OPTIONS request for the client Overrides ClientInterface::options
Client::patch public function Create a PATCH request for the client Overrides ClientInterface::patch
Client::post public function Create a POST request for the client Overrides ClientInterface::post
Client::prepareRequest protected function Prepare a request to be sent from the Client by adding client specific behaviors and properties to the request.
Client::put public function Create a PUT request for the client Overrides ClientInterface::put
Client::REQUEST_PARAMS constant
Client::send public function Sends a single request or an array of requests in parallel Overrides ClientInterface::send
Client::setBaseUrl public function Set the base URL of the client Overrides ClientInterface::setBaseUrl
Client::setConfig final public function Set the configuration object to use with the client Overrides ClientInterface::setConfig
Client::setCurlMulti public function Set a curl multi object to be used internally by the client for transferring requests. Overrides ClientInterface::setCurlMulti
Client::setDefaultHeaders public function Set the default HTTP headers to add to each request created by the client Overrides ClientInterface::setDefaultHeaders
Client::setRequestFactory public function Set the request factory to use with the client when creating requests Overrides ClientInterface::setRequestFactory
Client::setSslVerification final public function Set SSL verification options. Overrides ClientInterface::setSslVerification
Client::setUriTemplate public function Set the URI template expander to use with the client Overrides ClientInterface::setUriTemplate
Client::setUserAgent public function Set the name of your application and application version that will be appended to the User-Agent header of all requests. Overrides ClientInterface::setUserAgent
Client::SSL_CERT_AUTHORITY constant
Client::__construct public function Client constructor
ClientInterface::CREATE_REQUEST constant