Свойство | Тип | Описание | |
---|---|---|---|
$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 |