Auth_Yadis_PlainHTTPFetcher Class Reference

Inheritance diagram for Auth_Yadis_PlainHTTPFetcher:

Inheritance graph
[legend]
Collaboration diagram for Auth_Yadis_PlainHTTPFetcher:

Collaboration graph
[legend]

List of all members.


Detailed Description

This module contains the plain non-curl 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 This class implements a plain, hand-built socket-based fetcher which will be used in the event that CURL is unavailable.

Definition at line 28 of file PlainHTTPFetcher.php.


Public Member Functions

 supportsSSL ()
 get ($url, $extra_headers=null)
 post ($url, $body, $extra_headers=null)

Member Function Documentation

Auth_Yadis_PlainHTTPFetcher.supportsSSL (  ) 

Does this fetcher support SSL URLs?

Reimplemented from Auth_Yadis_HTTPFetcher.

Definition at line 32 of file PlainHTTPFetcher.php.

Auth_Yadis_PlainHTTPFetcher.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 37 of file PlainHTTPFetcher.php.

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

Definition at line 153 of file PlainHTTPFetcher.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