ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
MessageDecoratorTrait.php File Reference

Go to the source code of this file.

Namespaces

 Sabre\HTTP
 

Functions

 Sabre\HTTP::getBodyAsStream ()
 Returns the body as a readable stream resource. More...
 
 Sabre\HTTP::getBodyAsString ()
 Returns the body as a string. More...
 
 Sabre\HTTP::getBody ()
 Returns the message body, as it's internal representation. More...
 
 Sabre\HTTP::setBody ($body)
 Updates the body resource with a new stream. More...
 
 Sabre\HTTP::getHeaders ()
 Returns all the HTTP headers as an array. More...
 
 Sabre\HTTP::hasHeader ($name)
 Will return true or false, depending on if a HTTP header exists. More...
 
 Sabre\HTTP::getHeader ($name)
 Returns a specific HTTP header, based on it's name. More...
 
 Sabre\HTTP::getHeaderAsArray ($name)
 Returns a HTTP header as an array. More...
 
 Sabre\HTTP::setHeader ($name, $value)
 Updates a HTTP header. More...
 
 Sabre\HTTP::setHeaders (array $headers)
 Sets a new set of HTTP headers. More...
 
 Sabre\HTTP::addHeader ($name, $value)
 Adds a HTTP header. More...
 
 Sabre\HTTP::addHeaders (array $headers)
 Adds a new set of HTTP headers. More...
 
 Sabre\HTTP::removeHeader ($name)
 Removes a HTTP header. More...
 
 Sabre\HTTP::setHttpVersion ($version)
 Sets the HTTP version. More...
 
 Sabre\HTTP::getHttpVersion ()
 Returns the HTTP version. More...
 

Variables

trait Sabre\HTTP::MessageDecoratorTrait
 This trait contains a bunch of methods, shared by both the RequestDecorator and the ResponseDecorator. More...