Swoole\Http\Response::status

Set the status code of the HTTP response.

Description

public ReturnType Swoole\Http\Response::status(string $http_code)

Set the status code of the HTTP response.

Parameters

http_code

Return Values