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 Swoole\Http\Response::header ( string $key , string $value [, string $ucwords ] ) : void

Parameters

key

value

ucwords

Return Values