Property | Type | Description | |
---|---|---|---|
$body | string | Response body. | |
$headers | array | Response headers. | |
$statusCode | integer | HTTP status code. |
Method | Description | |
---|---|---|
__construct ( array $headers = [], string $body = '', integer $statusCode = 200 ) | Construct from headers and body. |