Public Member Functions | |
Services_Yadis_ParanoidHTTPFetcher ($timeout) | |
reset () | |
_writeHeader ($ch, $header) | |
_writeData ($ch, $data) | |
get ($url, $extra_headers=null) |
Definition at line 32 of file ParanoidHTTPFetcher.php.
_writeData | ( | $ | ch, | |
$ | data | |||
) |
private
Definition at line 65 of file ParanoidHTTPFetcher.php.
_writeHeader | ( | $ | ch, | |
$ | header | |||
) |
private
Definition at line 56 of file ParanoidHTTPFetcher.php.
get | ( | $ | url, | |
$ | extra_headers = null | |||
) |
Fetches the specified URL using optional extra headers and returns the server's response. Uses the CURL extension.
string | $url The URL to be fetched. | |
array | $extra_headers An array of header strings (e.g. "Accept: text/html"). |
Reimplemented from Services_Yadis_HTTPFetcher.
Definition at line 83 of file ParanoidHTTPFetcher.php.
reset | ( | ) |
Definition at line 47 of file ParanoidHTTPFetcher.php.
Services_Yadis_ParanoidHTTPFetcher | ( | $ | timeout | ) |
Definition at line 33 of file ParanoidHTTPFetcher.php.