프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$_body | string | Response body. | |
$_info | array | Info on the request obtained from curl_getinfo(). |
메소드 | 설명 | |
---|---|---|
__construct ( string $uri, string $curlresult, array $curlinfo ) | Constructor. | |
getBody ( ) : string | Returns the body of the HTTP response. |
메소드 | 설명 | |
---|---|---|
_parseInfo ( array $curlinfo ) | Processes the results of curl_getinfo. | |
_parseResult ( string $curlresult ) | Parses the combined header/body result from cURL. |
protected _parseInfo ( array $curlinfo ) | ||
$curlinfo | array |
protected _parseResult ( string $curlresult ) | ||
$curlresult | string |
protected array $_info | ||
리턴 | array |