interface RequestInterface

Generic HTTP request interface

Hierarchy

Expanded class hierarchy of RequestInterface

All classes that implement RequestInterface

10 files declare their use of RequestInterface

File

drupal/core/vendor/guzzle/http/Guzzle/Http/Message/RequestInterface.php, line 16

Namespace

Guzzle\Http\Message
View source

Members

Namesort descending Modifiers Type Description Overrides
HasDispatcherInterface::addSubscriber public function Add an event subscriber to the dispatcher 3
HasDispatcherInterface::dispatch public function Helper to dispatch Guzzle events and set the event name on the event 3
HasDispatcherInterface::getAllEvents public static function Get a list of all of the events emitted from the class 3
HasDispatcherInterface::getEventDispatcher public function Get the EventDispatcher of the request 3
HasDispatcherInterface::setEventDispatcher public function Set the EventDispatcher of the request 3
MessageInterface::addCacheControlDirective public function Add a Cache-Control directive on the message 1
MessageInterface::addHeader public function Add a header to an existing collection of headers. 1
MessageInterface::addHeaders public function Add and merge in an array of HTTP headers. 1
MessageInterface::getCacheControlDirective public function Get a Cache-Control directive from the message 1
MessageInterface::getHeader public function Retrieve an HTTP header by name. Performs a case-insensitive search of all headers. 1
MessageInterface::getHeaderLines public function Get an array of message header lines 1
MessageInterface::getHeaders public function Get all headers as a collection 1
MessageInterface::getParams public function Get application and plugin specific parameters set on the message. 1
MessageInterface::getRawHeaders public function Get the raw message headers as a string 2
MessageInterface::getTokenizedHeader public function Get a tokenized header as a Collection 1
MessageInterface::hasCacheControlDirective public function Check if the message has a Cache-Control directive 1
MessageInterface::hasHeader public function Check if the specified header is present. 1
MessageInterface::removeCacheControlDirective public function Remove a Cache-Control directive from the message 1
MessageInterface::removeHeader public function Remove a specific HTTP header. 1
MessageInterface::setHeader public function Set an HTTP header 1
MessageInterface::setHeaders public function Overwrite all HTTP headers with the supplied array of headers 1
MessageInterface::setTokenizedHeader public function Set a tokenized header on the request that implodes a Collection of data into a string separated by a token. 1
RequestInterface::addCookie public function Add a Cookie value by name to the Cookie header 1
RequestInterface::canCache public function Returns whether or not the request can be cached 1
RequestInterface::CONNECT constant
RequestInterface::DELETE constant
RequestInterface::GET constant
RequestInterface::getClient public function Get the client used to transport the request 1
RequestInterface::getCookie public function Get a cookie value by name 1
RequestInterface::getCookies public function Get an array of Cookies 1
RequestInterface::getCurlOptions public function Get the cURL options that will be applied when the cURL handle is created 1
RequestInterface::getHost public function Get the host of the request 1
RequestInterface::getMethod public function Get the HTTP method of the request 1
RequestInterface::getPassword public function Get the password to pass in the URL if set 1
RequestInterface::getPath public function Get the path of the request (e.g. '/', '/index.html') 1
RequestInterface::getPort public function Get the port that the request will be sent on if it has been set 1
RequestInterface::getProtocolVersion public function Get the HTTP protocol version of the request 1
RequestInterface::getQuery public function Get the collection of key value pairs that will be used as the query string in the request 1
RequestInterface::getResource public function Get the resource part of the the request, including the path, query string, and fragment 1
RequestInterface::getResponse public function Get the previously received {not been sent 1
RequestInterface::getScheme public function Get the URI scheme of the request (http, https, ftp, etc) 1
RequestInterface::getState public function Get the state of the request. One of 'complete', 'sending', 'new' 1
RequestInterface::getUrl public function Get the full URL of the request (e.g. 'http://www.guzzle-project.com/') scheme://username:password@domain:port/path?query_string#fragment 1
RequestInterface::getUsername public function Get the username to pass in the URL if set 1
RequestInterface::HEAD constant
RequestInterface::isResponseBodyRepeatable public function Determine if the response body is repeatable (readable + seekable) 1
RequestInterface::OPTIONS constant
RequestInterface::PATCH constant
RequestInterface::POST constant
RequestInterface::PUT constant
RequestInterface::receiveResponseHeader public function Method to receive HTTP response headers as they are retrieved 1
RequestInterface::removeCookie public function Remove a specific cookie value by name 1
RequestInterface::send public function Send the request 1
RequestInterface::setAuth public function Set HTTP authorization parameters 1
RequestInterface::setClient public function Set the client used to transport the request 1
RequestInterface::setHost public function Set the host of the request. Including a port in the host will modify the port of the request. 1
RequestInterface::setPath public function Set the path of the request (e.g. '/', '/index.html') 1
RequestInterface::setPort public function Set the port that the request will be sent on 1
RequestInterface::setProtocolVersion public function Set the HTTP protocol version of the request (e.g. 1.1 or 1.0) 1
RequestInterface::setResponse public function Manually set a response for the request. 1
RequestInterface::setResponseBody public function Set the EntityBody that will hold the response message's entity body. 1
RequestInterface::setScheme public function Set the URI scheme of the request (http, https, ftp, etc) 1
RequestInterface::setState public function Set the state of the request 1
RequestInterface::setUrl public function Set the URL of the request 1
RequestInterface::STATE_COMPLETE constant
RequestInterface::STATE_ERROR constant
RequestInterface::STATE_NEW constant
RequestInterface::STATE_TRANSFER constant
RequestInterface::TRACE constant
RequestInterface::__toString public function Get the HTTP request as a string 1