ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
Sabre\HTTP\MessageMock Class Reference
+ Inheritance diagram for Sabre\HTTP\MessageMock:
+ Collaboration diagram for Sabre\HTTP\MessageMock:

Additional Inherited Members

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

Detailed Description

Definition at line 246 of file MessageTest.php.


The documentation for this class was generated from the following file: