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


Public Member Functions | |
| SimpleProxyRoute ($url, $proxy, $username=false, $password=false) | |
| _getRequestLine ($method) | |
| _getHostLine () | |
| & | createConnection ($method, $timeout) |
Data Fields | |
| $_proxy | |
| $_username | |
| $_password | |
| _getHostLine | ( | ) |
Creates the host part of the request.
| SimpleUrl | $url | URL as object. |
Reimplemented from SimpleRoute.
Definition at line 156 of file http.php.

| _getRequestLine | ( | $ | method | ) |
Creates the first line which is the actual request.
| string | $method | HTTP request method, usually GET. |
| SimpleUrl | $url | URL as object. |
Reimplemented from SimpleRoute.
Definition at line 142 of file http.php.


| & createConnection | ( | $ | method, |
| $ | timeout | ||
| ) |
Opens a socket to the route.
| string | $method | HTTP request method, usually GET. |
| integer | $timeout | Connection timeout. |
Reimplemented from SimpleRoute.
Definition at line 169 of file http.php.

| SimpleProxyRoute | ( | $ | url, |
| $ | proxy, | ||
| $ | username = false, |
||
| $ | password = false |
||
| ) |