Метод | Описание | |
---|---|---|
__get ( $property_name ) : mixed | ||
__set ( $property_name, $value ) | ||
abort ( ) | ||
addBinary ( string $name, string $entity, $filename = null, $mime = '' ) : mixed | ||
addText ( string $name, string $entity ) : mixed | ||
enableGzip ( ) | ||
getAllResponseHeaders ( ) : string | ||
getResponseHeader ( $bstrHeader ) : string | ||
open ( $bstrMethod, $bstrUrl, boolean $varAsync = true, string $bstrUser = '', string $bstrPassword = '' ) : boolean | ||
send ( string $varBody = '' ) : mixed | void | ||
setMaxRedirs ( integer $n ) | ||
setRequestHeader ( $bstrHeader, $bstrValue, boolean $append = false ) : boolean | ||
setTimeOuts ( $resolveTimeout, $connectTimeout, $sendTimeout, $receiveTimeout ) |
Метод | Описание | |
---|---|---|
__buildBoundary ( ) | Build Boundary | |
__buildPostData ( ) : string | ||
add_postdata ( $bstrItem, $bstrValue ) | ||
gzdecode ( $string ) : string | ||
http_chunked_decode ( $chunk ) : null | string | ||
is_hex ( string $hex ) : boolean | determine if a string can represent a number in hexadecimal | |
reinit ( ) |
public getResponseHeader ( $bstrHeader ) : string | ||
$bstrHeader | ||
Результат | string |
public setRequestHeader ( $bstrHeader, $bstrValue, boolean $append = false ) : boolean | ||
$bstrHeader | ||
$bstrValue | ||
$append | boolean | |
Результат | boolean |
public setTimeOuts ( $resolveTimeout, $connectTimeout, $sendTimeout, $receiveTimeout ) | ||
$resolveTimeout | ||
$connectTimeout | ||
$sendTimeout | ||
$receiveTimeout |