HttpClient Interface Reference
[HTTP related utilities]

Inheritance diagram for HttpClient:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 setTimeout ($timeout)
 
Parameters:
$timeout in seconds

 getTimeout ()
 setFollowLocation ($really)
 whether to follow header Location or not
 isFollowLocation ()
 setMaxRedirects ($maxRedirects)
 maximum number of header Location followed
 getMaxRedirects ()
 send (HttpRequest $request)
 
Returns:
HttpResponse


Detailed Description

Definition at line 16 of file HttpClient.class.php.


Member Function Documentation

HttpClient::setTimeout ( timeout  ) 

Parameters:
$timeout in seconds

Implemented in CurlHttpClient.

HttpClient::getTimeout (  ) 

Implemented in CurlHttpClient.

HttpClient::setFollowLocation ( really  ) 

whether to follow header Location or not

Implemented in CurlHttpClient.

HttpClient::isFollowLocation (  ) 

Implemented in CurlHttpClient.

HttpClient::setMaxRedirects ( maxRedirects  ) 

maximum number of header Location followed

Implemented in CurlHttpClient.

HttpClient::getMaxRedirects (  ) 

Implemented in CurlHttpClient.

HttpClient::send ( HttpRequest request  ) 

Returns:
HttpResponse

Implemented in CurlHttpClient.

Referenced by OpenIdCredentials::__construct().


The documentation for this interface was generated from the following file:
Generated on Sun Dec 9 21:57:44 2007 for onPHP by  doxygen 1.5.4