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.


Detailed Description

This module contains the CURL-based HTTP fetcher implementation.

PHP versions 4 and 5

LICENSE: See the COPYING file included in this distribution.

Author:
JanRain, Inc. <[email protected]> 2005-2008 Janrain, Inc. http://www.apache.org/licenses/LICENSE-2.0 Apache Interface import A paranoid Auth_Yadis_HTTPFetcher class which uses CURL for fetching.

Definition at line 29 of file ParanoidHTTPFetcher.php.


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)

Member Function Documentation

Auth_Yadis_ParanoidHTTPFetcher.Auth_Yadis_ParanoidHTTPFetcher (  ) 

Definition at line 30 of file ParanoidHTTPFetcher.php.

Auth_Yadis_ParanoidHTTPFetcher.reset (  ) 

Definition at line 35 of file ParanoidHTTPFetcher.php.

Auth_Yadis_ParanoidHTTPFetcher._writeHeader ( ch,
header 
)

private

Definition at line 44 of file ParanoidHTTPFetcher.php.

Auth_Yadis_ParanoidHTTPFetcher._writeData ( ch,
data 
)

private

Definition at line 53 of file ParanoidHTTPFetcher.php.

Auth_Yadis_ParanoidHTTPFetcher.supportsSSL (  ) 

Does this fetcher support SSL URLs?

Reimplemented from Auth_Yadis_HTTPFetcher.

Definition at line 66 of file ParanoidHTTPFetcher.php.

Auth_Yadis_ParanoidHTTPFetcher.get ( url,
headers = null 
)

Fetches the specified URL using optional extra headers and returns the server's response.

Parameters:
string $url The URL to be fetched.
array $extra_headers An 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.

Auth_Yadis_ParanoidHTTPFetcher.post ( url,
body,
extra_headers = null 
)

Definition at line 176 of file ParanoidHTTPFetcher.php.


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

Generated on Thu Feb 19 15:03:41 2009 for OXID eShop CE by  doxygen 1.5.5