Property | Type | Description | |
---|---|---|---|
$error | Error message and error code Error code help user to show error message with optional language Error message is default by english. |
Method | Description | |
---|---|---|
__construct ( mixed $config, string $tmp_dir = 'tmp' ) | ||
_get_first_available_transport ( mixed $args, mixed $url = null ) | ||
buildCookieHeader ( mixed &$args ) | ||
build_args ( mixed $args, mixed $defaults ) | ||
get ( mixed $url, mixed $args = [] ) | ||
handle_redirects ( mixed $url, mixed $args, mixed $response ) | ||
head ( mixed $url, mixed $args = [] ) | ||
is_error ( mixed $resources ) | ||
is_ip_address ( mixed $maybe_ip ) | ||
make_absolute_url ( mixed $maybe_relative_path, mixed $url ) | ||
mbstring_binary_safe_encoding ( boolean $reset = false ) | ||
post ( mixed $url, mixed $args = [] ) | ||
processHeaders ( mixed $headers, string $url = '' ) | ||
processResponse ( mixed $strResponse ) | ||
reset ( ) | ||
reset_mbstring_encoding ( ) | ||
set_error ( mixed $code ) |
Method | Description | |
---|---|---|
_dispatch_request ( mixed $url, mixed $args ) | ||
get_Env ( mixed $key ) | ||
parse_str ( mixed $str ) | ||
request ( mixed $url, mixed $args ) |
public __construct ( mixed $config, string $tmp_dir = 'tmp' ) | ||
$config | mixed | |
$tmp_dir | string |
public _get_first_available_transport ( mixed $args, mixed $url = null ) | ||
$args | mixed | |
$url | mixed |
public static buildCookieHeader ( mixed &$args ) | ||
$args | mixed |
public static build_args ( mixed $args, mixed $defaults ) | ||
$args | mixed | |
$defaults | mixed |
public static is_ip_address ( mixed $maybe_ip ) | ||
$maybe_ip | mixed |
public static make_absolute_url ( mixed $maybe_relative_path, mixed $url ) | ||
$maybe_relative_path | mixed | |
$url | mixed |
public static mbstring_binary_safe_encoding ( boolean $reset = false ) | ||
$reset | boolean |
public static processHeaders ( mixed $headers, string $url = '' ) | ||
$headers | mixed | |
$url | string |
public static processResponse ( mixed $strResponse ) | ||
$strResponse | mixed |