Swoole\Http\Response::header()

设置HTTP响应头

首字母:S
适用版本(PECL swoole >= 1.9.0)

Swoole\Http\Response::header — 设置HTTP响应头。

说明
public Swoole\Http\Response::header(string $key, string $value, string $ucwords = ?): void

参数
key
value
ucwords
返回值

同首字母函数