« Swoole\Http\Response::sendfile
Swoole\Http\Response::write »

Swoole\Http\Response::status

(PECL swoole >= 1.9.0)

Swoole\Http\Response::status — Set the status code of the HTTP response.

説明

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

Set the status code of the HTTP response.

パラメータ

http_code

戻り値

関連キーワード:
status   code   Swoole   Http   Response   response   http   sendfile   write   swoole   ReturnType
関連する関数・ページ:
class.swoole-http-response   swoole-http-response.destruct   swoole-http-response.header   swoole-http-response.sendfile   swoole-http-response.end   swoole-http-response.cookie