Inheritance diagram for CURLRequestProcessor:
Collaboration diagram for CURLRequestProcessor:Public Member Functions | |
| execute ($method, $url, $headers, $body, $config) | |
| _headerfunction ($ch, $str) | |
| get_response_body () | |
| get_response_headers () | |
RequestProcessor using CURL.
Definition at line 5 of file curlrequestprocessor.php.
| CURLRequestProcessor::_headerfunction | ( | $ | ch, | |
| $ | str | |||
| ) |
cURL will hand each header received by the *response* to this method, so we use it to conveniently capture them for storing in case the user wants them.
| $ch | resource The cURL handle from curl_init() that is executing. | |
| $str | string The header received from the response. Should always be a single header at a time. |
Definition at line 157 of file curlrequestprocessor.php.
| CURLRequestProcessor::execute | ( | $ | method, | |
| $ | url, | |||
| $ | headers, | |||
| $ | body, | |||
| $ | config | |||
| ) |
Reimplemented from RequestProcessor.
Definition at line 24 of file curlrequestprocessor.php.
1.7.1