PHPTS:一键免费搭建 Nginx + PHP + MySQL 运行环境

Swoole\Http\Response::header

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

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

说明

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

参数

key

value

ucwords

返回值