Constructs the Response object.
public __construct ( string $content = '', integer $statusCode = 200, array $headers = [] ) | ||
$content | string | Content that will be attached to the response. |
$statusCode | integer | HTTP status code that will be sent back to the user. |
$headers | array | Additional headers that should be attached to the response. |