首页 诗词 名句 诗人 飞花令 诗单 诗词游戏 古籍 文学 成语 字典 词典 谜语 教育学习
查询

Swoole\Http\Response::header()函数—用法及示例

「 设置HTTP响应头 」


适用版本(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
返回值
热门PHP函数