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.

Description

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

Init the HTTP response header.

Parameters

This function has no parameters.

Return Values


Swoole\Http\Response
PHP Manual