Definition at line 40 of file Adapter.php.
HTTP_Request2_Adapter::calculateRequestLength |
( |
& |
$headers | ) |
|
|
protected |
Calculates length of the request body, adds proper headers
- Parameters
-
array | &$headers | associative array of request headers, this method will add proper 'Content-Length' and 'Content-Type' headers to this array (or remove them if not needed) |
Definition at line 96 of file Adapter.php.
Sends request to the remote server and returns its response
- Parameters
-
- Returns
- HTTP_Request2_Response
- Exceptions
-
HTTP_Request2_Adapter::$bodyDisallowed = array('TRACE') |
|
staticprotected |
HTTP_Request2_Adapter::$bodyRequired = array('POST', 'PUT') |
|
staticprotected |
HTTP_Request2_Adapter::$contentLength |
|
protected |
HTTP_Request2_Adapter::$request |
|
protected |
HTTP_Request2_Adapter::$requestBody |
|
protected |
The documentation for this class was generated from the following file: