mirror of https://github.com/flightphp/core
parent
b6c504fc99
commit
3fb9825d0c
@ -1,12 +0,0 @@
|
||||
You can stop the framework at any point by calling the `halt` method:
|
||||
|
||||
Flight::halt();
|
||||
|
||||
You can also specify an optional HTTP status code and message:
|
||||
|
||||
Flight::halt(200, 'Be right back...');
|
||||
|
||||
Calling `halt` will discard any response content up to that point.
|
||||
If you want to stop the framework and output the current response, use the `stop` method:
|
||||
|
||||
Flight::stop();
|
Loading…
Reference in new issue