TYPO3 API  SVNRelease
Public Member Functions
Auth_Yadis_ParanoidHTTPFetcher Class Reference
Inheritance diagram for Auth_Yadis_ParanoidHTTPFetcher:
Inheritance graph
[legend]
Collaboration diagram for Auth_Yadis_ParanoidHTTPFetcher:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Auth_Yadis_ParanoidHTTPFetcher ()
 reset ()
 _writeHeader ($ch, $header)
 _writeData ($ch, $data)
 supportsSSL ()
 get ($url, $extra_headers=null)
 post ($url, $body, $extra_headers=null)

Detailed Description

Definition at line 29 of file ParanoidHTTPFetcher.php.


Member Function Documentation

Auth_Yadis_ParanoidHTTPFetcher::_writeData ( ch,
data 
)

private

Definition at line 53 of file ParanoidHTTPFetcher.php.

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.

Parameters:
string$urlThe URL to be fetched.
array$extra_headersAn array of header strings (e.g. "Accept: text/html").
Returns:
mixed $result An array of ($code, $url, $headers, $body) if the URL could be fetched; null if the URL does not pass the URLHasAllowedScheme check or if the server's response is malformed.

Reimplemented from Auth_Yadis_HTTPFetcher.

Definition at line 78 of file ParanoidHTTPFetcher.php.

References $GLOBALS, $value, Auth_Yadis_HTTPFetcher\_findRedirect(), Auth_Yadis_HTTPFetcher\allowedURL(), Auth_Yadis_HTTPFetcher\canFetchURL(), Auth_OpenID\log(), and reset().

Auth_Yadis_ParanoidHTTPFetcher::post ( url,
body,
extra_headers = null 
)
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.


The documentation for this class was generated from the following file: