Http\Response->status

最后更新于:2022-04-02 06:33:32

# Http\\Response->status 发送Http状态码。 ~~~ swoole_http_response->status(int $http_status_code); ~~~ * $http\_status\_code必须为合法的HttpCode,如200, 502, 301, 404等,否则会报错 * 必须在$response->end之前执行status
';