Swoole\Http\Response
PHP Manual

Swoole\Http\Response::header

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

Swoole\Http\Response::headerSet the HTTP response headers.

Description

public void Swoole\Http\Response::header ( string $key , string $value [, string $ucwords ] )

Parameters

key

value

ucwords

Return Values


Swoole\Http\Response
PHP Manual