PHP Class phprs\util\CurlResponse

Datei anzeigen Open project: caoym/phprs-restful

Public Properties

Property Type Description
$content
$content_type
$errno
$errstr
$headers
$http_code
$status

Public Methods

Method Description
handleHeader ( $ch, $header_line )
isOk ( )
message ( )
parseReturnData ( string $data ) 从http返回的数据中分离header和body

Method Details

handleHeader() public method

public handleHeader ( $ch, $header_line )

isOk() public method

public isOk ( )

message() public method

public message ( )

parseReturnData() public method

从http返回的数据中分离header和body
public parseReturnData ( string $data )
$data string

Property Details

$content public_oe property

public $content

$content_type public_oe property

public $content_type

$errno public_oe property

public $errno

$errstr public_oe property

public $errstr

$headers public_oe property

public $headers

$http_code public_oe property

public $http_code

$status public_oe property

public $status