Response
class Response extends Response
Methods
setBody(mixed $body)
Set the body content of the response.
static RedirectResponse
redirect(string $location, array $headers = [], int $code = 302)
Create a redirect response.
Details
at line 11
setBody(mixed $body)
Set the body content of the response.
at line 23
static RedirectResponse
redirect(string $location, array $headers = [], int $code = 302)
Create a redirect response.
at line 39
static Response
parse(mixed $response)
Parse a response object and return a formatted HTTP response.