public __construct ( string | resource | Psr\Http\Message\StreamInterface $body = 'php://memory', integer $status = 200, array $headers = [] ) | ||
$body | string | resource | Psr\Http\Message\StreamInterface | Stream identifier and/or actual stream resource |
$status | integer | Status code for the response, if any. |
$headers | array | Headers for the response, if any. |