Container for all response-related methods.
| package |
LOG_PHP_SDK |
|---|
__construct(array $header, string $body, integer $status = null) : object
array(Required) Associative array of HTTP headers (typically returned by <RequestCore::get_response_header()>).
string(Required) XML-formatted response from AWS.
integer(Optional) HTTP response status code from the request.
objectContains an header property (HTTP headers as an associative array), a body property, and an status code.
isOK(integer|array $codes = array(200, 201, 204, 206)) : boolean
integer|array(Optional) The status code(s) to expect. Pass an
booleanWhether we received the expected status code or not.
header :
body :
status :