Swoole\Http\Response::status
PHP function
Edit on GitHub ✎
(PECL swoole >= 1.9.0)
Set the status code of the HTTP response.
Description
Swoole\Http\Response::status(string $http_code): ReturnType
Set the status code of the HTTP response.
Parameters
http_code