Swoole\Http\Response
PHP Manual

Swoole\Http\Response::initHeader

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

Swoole\Http\Response::initHeaderInit the HTTP response header.

说明

public ReturnType Swoole\Http\Response::initHeader ( void )

Init the HTTP response header.

参数

此函数没有参数。

返回值


Swoole\Http\Response
PHP Manual