Skip to content

Response::abort() #228

@g105b

Description

@g105b

We already have a way to end the response early: Response::redirect() or Response::reload().

I'm proposing a new function, abort, which by default will cause the Response to follow its exitCallback, and can take an optional parameter to set the response code.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions