__construct ( $header, $body, $status )

Constructs a new instance of this class.

Access

public

Parameters

Parameter

Type

Required

Description

$header

array

Required

Associative array of HTTP headers (typically returned by <RequestCore::get_response_header()>).

$body

string

Required

XML-formatted response from AWS.

$status

integer

Optional

HTTP response status code from the request.

Returns

Type

Description

object

Contains an array header property (HTTP headers as an associative array), a SimpleXMLElement or string body property, and an integer status code.

Source

Copyright © 2010–2013 Amazon Web Services, LLC


Feedback