Swoole\Http\Response::header — 设置HTTP响应头。
说明
public Swoole\Http\Response::header(string $key, string $value, string $ucwords = ?): void
参数
key
value
ucwords
返回值
设置HTTP响应头
public Swoole\Http\Response::header(string $key, string $value, string $ucwords = ?): void