Container for all response-related methods.
package | SLS_PHP_SDK |
---|
__construct(array $header, string $body, integer $status = null
) : object
array
(Required) Associative array of HTTP headers (typically returned by
string
(Required) XML-formatted response from AWS.
integer
(Optional) HTTP response status code from the request.
object
Contains an isOK(integer|array $codes = array(200, 201, 204, 206)
) : boolean
integer
array
(Optional) The status code(s) to expect. Pass an
boolean
Whether we received the expected status code or not.$body
$header
$status