TYPO3 API  SVNRelease
Public Member Functions
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.

Public Member Functions

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

Detailed Description

Definition at line 28 of file PlainHTTPFetcher.php.


Member Function Documentation

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

References $value, Auth_Yadis_HTTPFetcher\_findRedirect(), and Auth_Yadis_HTTPFetcher\canFetchURL().

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

Definition at line 153 of file PlainHTTPFetcher.php.

References $value, and Auth_Yadis_HTTPFetcher\canFetchURL().

Auth_Yadis_PlainHTTPFetcher::supportsSSL ( )

Does this fetcher support SSL URLs?

Reimplemented from Auth_Yadis_HTTPFetcher.

Definition at line 32 of file PlainHTTPFetcher.php.


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