|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| connect ($host, $port=80, $secure=false) | |
| write ($method, $uri, $http_ver= '1.1', $headers=array(), $body= '') | |
| read () | |
| close () | |
Protected Member Functions | |
| log ($message) | |
Protected Attributes | |
| $log_handle = null | |
Definition at line 41 of file LoggingHttpClientAdapterSocket.php.
| close | ( | ) |
Close the connection to the server
Reimplemented from Zend_Http_Client_Adapter_Socket.
Definition at line 113 of file LoggingHttpClientAdapterSocket.php.

| connect | ( | $ | host, |
| $ | port = 80, |
||
| $ | secure = false |
||
| ) |
Connect to the remote server
| string | $host | |
| int | $port | |
| boolean | $secure | |
| int | $timeout |
Reimplemented from Zend_Http_Client_Adapter_Socket.
Definition at line 74 of file LoggingHttpClientAdapterSocket.php.

| log | ( | $ | message | ) | [protected] |
Log the given message to the log file. The log file is configured as the config param 'logfile'. This method opens the file for writing if necessary.
| string | $message | The message to log |
Definition at line 58 of file LoggingHttpClientAdapterSocket.php.

| read | ( | ) |
Read response from server
Reimplemented from Zend_Http_Client_Adapter_Socket.
Definition at line 102 of file LoggingHttpClientAdapterSocket.php.

Send request to the remote server
| string | $method | |
| Zend_Uri_Http | $uri | |
| string | $http_ver | |
| array | $headers | |
| string | $body |
Reimplemented from Zend_Http_Client_Adapter_Socket.
Definition at line 90 of file LoggingHttpClientAdapterSocket.php.

$log_handle = null [protected] |
Definition at line 49 of file LoggingHttpClientAdapterSocket.php.