ILIAS
Release_5_0_x_branch Revision 61816
|
Public Member Functions | |
Auth_Yadis_ParanoidHTTPFetcher () | |
reset () | |
_writeHeader ($ch, $header) | |
private | |
_writeData ($ch, $data) | |
private | |
supportsSSL () | |
Does this fetcher support SSL URLs? | |
get ($url, $extra_headers=null) | |
Fetches the specified URL using optional extra headers and returns the server's response. | |
post ($url, $body, $extra_headers=null) | |
Public Member Functions inherited from Auth_Yadis_HTTPFetcher | |
canFetchURL ($url) | |
Return whether a URL can be fetched. | |
allowedURL ($url) | |
Return whether a URL should be allowed. | |
isHTTPS ($url) | |
Is this an https URL? | |
URLHasAllowedScheme ($url) | |
Is this an http or https URL? | |
_findRedirect ($headers, $url) | |
private |
Additional Inherited Members | |
Data Fields inherited from Auth_Yadis_HTTPFetcher | |
$timeout = 20 |
Definition at line 29 of file ParanoidHTTPFetcher.php.
Auth_Yadis_ParanoidHTTPFetcher::_writeData | ( | $ch, | |
$data | |||
) |
private
Definition at line 53 of file ParanoidHTTPFetcher.php.
References Auth_OpenID_FETCHER_MAX_RESPONSE_KB.
Auth_Yadis_ParanoidHTTPFetcher::_writeHeader | ( | $ch, | |
$header | |||
) |
private
Definition at line 44 of file ParanoidHTTPFetcher.php.
Auth_Yadis_ParanoidHTTPFetcher::Auth_Yadis_ParanoidHTTPFetcher | ( | ) |
Definition at line 30 of file ParanoidHTTPFetcher.php.
References reset().
Auth_Yadis_ParanoidHTTPFetcher::get | ( | $url, | |
$headers = null |
|||
) |
Fetches the specified URL using optional extra headers and returns the server's response.
string | $url | The URL to be fetched. |
array | $extra_headers | An array of header strings (e.g. "Accept: text/html"). |
Reimplemented from Auth_Yadis_HTTPFetcher.
Definition at line 78 of file ParanoidHTTPFetcher.php.
References Auth_Yadis_HTTPFetcher\$timeout, Auth_Yadis_HTTPFetcher\_findRedirect(), Auth_Yadis_HTTPFetcher\allowedURL(), Auth_OpenID_USER_AGENT, Auth_Yadis_HTTPFetcher\canFetchURL(), Auth_Yadis_HTTPFetcher\isHTTPS(), Auth_OpenID\log(), and reset().
Auth_Yadis_ParanoidHTTPFetcher::post | ( | $url, | |
$body, | |||
$extra_headers = null |
|||
) |
Definition at line 183 of file ParanoidHTTPFetcher.php.
References Auth_Yadis_HTTPFetcher\canFetchURL(), Auth_Yadis_HTTPFetcher\isHTTPS(), Auth_OpenID\log(), and reset().
Auth_Yadis_ParanoidHTTPFetcher::reset | ( | ) |
Definition at line 35 of file ParanoidHTTPFetcher.php.
Referenced by Auth_Yadis_ParanoidHTTPFetcher(), get(), and post().
Auth_Yadis_ParanoidHTTPFetcher::supportsSSL | ( | ) |
Does this fetcher support SSL URLs?
Reimplemented from Auth_Yadis_HTTPFetcher.
Definition at line 66 of file ParanoidHTTPFetcher.php.