프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$body | Stores the SimpleXML response. | ||
$header | Stores the HTTP header information. | ||
$status | Stores the HTTP response code. |
메소드 | 설명 | |
---|---|---|
__construct ( array $header, string $body, integer $status = null ) : object | Constructs a new instance of this class. | |
isOK ( integer | array $codes = [200, 201, 204, 206] ) : boolean | Did we receive the status code we expected? |
public __construct ( array $header, string $body, integer $status = null ) : object | ||
$header | array | (Required) Associative array of HTTP headers (typically returned by |
$body | string | (Required) XML-formatted response from AWS. |
$status | integer | (Optional) HTTP response status code from the request. |
리턴 | object | Contains an |