PHP - Manual: Swoole\Http\Response::status
2024-12-22
(PECL swoole >= 1.9.0)
Swoole\Http\Response::status — Set the status code of the HTTP response.
$http_code
): ReturnTypeSet the status code of the HTTP response.
http_code
官方地址:https://www.php.net/manual/en/swoole-http-response.status.php