Scalr\Api\Rest\Http\Response::__construct PHP Method

__construct() public method

Constructor
public __construct ( string $body = '', integer $status = 200, array $headers = [] )
$body string The HTTP response body
$status integer The HTTP response status
$headers array The HTTP response headers
    public function __construct($body = '', $status = 200, $headers = [])
    {
        $this->setStatus($status);
        $this->setHeaders($headers);
        $this->setBody($body);
    }