Public Member Functions | |
Services_Yadis_PlainHTTPFetcher ($timeout) | |
get ($url, $extra_headers=null) |
Definition at line 28 of file PlainHTTPFetcher.php.
get | ( | $ | url, | |
$ | extra_headers = null | |||
) |
Fetches the specified URL using optional extra headers and returns the server's response. Uses plain PHP library calls and doesn't rely on any extensions.
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 47 of file PlainHTTPFetcher.php.
Services_Yadis_PlainHTTPFetcher | ( | $ | timeout | ) |
Definition at line 29 of file PlainHTTPFetcher.php.