PHP 클래스 NukeViet\Http\Http

파일 보기 프로젝트 열기: nukeviet/nukeviet

공개 프로퍼티들

프로퍼티 타입 설명
$error Error message and error code Error code help user to show error message with optional language Error message is default by english.

공개 메소드들

메소드 설명
__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 )

비공개 메소드들

메소드 설명
_dispatch_request ( mixed $url, mixed $args )
get_Env ( mixed $key )
parse_str ( mixed $str )
request ( mixed $url, mixed $args )

메소드 상세

__construct() 공개 메소드

public __construct ( mixed $config, string $tmp_dir = 'tmp' )
$config mixed
$tmp_dir string

_get_first_available_transport() 공개 메소드

public _get_first_available_transport ( mixed $args, mixed $url = null )
$args mixed
$url mixed

buildCookieHeader() 공개 정적인 메소드

public static buildCookieHeader ( mixed &$args )
$args mixed

build_args() 공개 정적인 메소드

public static build_args ( mixed $args, mixed $defaults )
$args mixed
$defaults mixed

get() 공개 메소드

public get ( mixed $url, mixed $args = [] )
$url mixed
$args mixed

handle_redirects() 공개 정적인 메소드

public static handle_redirects ( mixed $url, mixed $args, mixed $response )
$url mixed
$args mixed
$response mixed

head() 공개 메소드

public head ( mixed $url, mixed $args = [] )
$url mixed
$args mixed

is_error() 공개 메소드

public is_error ( mixed $resources )
$resources mixed

is_ip_address() 공개 정적인 메소드

public static is_ip_address ( mixed $maybe_ip )
$maybe_ip mixed

make_absolute_url() 공개 정적인 메소드

public static make_absolute_url ( mixed $maybe_relative_path, mixed $url )
$maybe_relative_path mixed
$url mixed

mbstring_binary_safe_encoding() 공개 정적인 메소드

public static mbstring_binary_safe_encoding ( boolean $reset = false )
$reset boolean

post() 공개 메소드

public post ( mixed $url, mixed $args = [] )
$url mixed
$args mixed

processHeaders() 공개 정적인 메소드

public static processHeaders ( mixed $headers, string $url = '' )
$headers mixed
$url string

processResponse() 공개 정적인 메소드

public static processResponse ( mixed $strResponse )
$strResponse mixed

reset() 공개 메소드

public reset ( )

reset_mbstring_encoding() 공개 정적인 메소드

public static reset_mbstring_encoding ( )

set_error() 공개 정적인 메소드

public static set_error ( mixed $code )
$code mixed

프로퍼티 상세

$error 공개적으로 정적으로 프로퍼티

Error message and error code Error code help user to show error message with optional language Error message is default by english.
public static $error