Property | Type | Description | |
---|---|---|---|
$bind_host | |||
$doFollowLocationHeader | |||
$error | |||
$extra_headers | |||
$lastTransferSpeed | |||
$max_redirects | |||
$method | * all vars are private except $error, $query_cache, and $doFollowLocationHeader | ||
$query_cache | |||
$redirectURL | |||
$remote_host | |||
$remote_passwd | |||
$remote_port | |||
$remote_uname | |||
$result | |||
$result_body | |||
$result_header | |||
$result_status_code | |||
$ssl_setting_message | |||
$version | |||
$warn |
Method | Description | |
---|---|---|
add_header ( $key, $value ) | Adds a header, sent with the next query. | |
bind ( $ip = '' ) | ||
clear_headers ( ) | Clears any extra headers. | |
connect ( $host, $port = '' ) | Create server "connection". | |
fetch_body ( ) : string | Return the body of result (stuff after header). | |
fetch_header ( $header = '' ) : array | Return the header of result (stuff before body). | |
fetch_parsed_body ( ) : array | Return parsed body in array format. | |
fetch_result ( ) : string | Return the result of a query. | |
get ( $location, $asArray = FALSE ) : string | The quick way to get a URL's content :) | |
getTransferSpeed ( ) | ||
get_status_code ( ) : integer | Returns the last status code. | |
query ( $request, $content = '', $doSpeedCheck ) | Query the server | |
set_login ( $uname = '', $passwd = '' ) | Specify a username and password. | |
set_method ( $method = 'GET' ) | Change the method being used to communicate. | |
set_ssl_setting_message ( $str ) | Set a specifc message on how to change the SSL setting, in the event that it's not set correctly. |
public add_header ( $key, $value ) |
public fetch_body ( ) : string | ||
return | string | result body |
public fetch_header ( $header = '' ) : array | ||
return | array | result header |
public fetch_parsed_body ( ) : array | ||
return | array | result parsed |
public fetch_result ( ) : string | ||
return | string | result |
public get_status_code ( ) : integer | ||
return | integer | status code |
public set_login ( $uname = '', $passwd = '' ) |
public set_method ( $method = 'GET' ) |
public set_ssl_setting_message ( $str ) |
public $method |