Http\Request->$header
Http
请求的头部信息。类型为数组,所有key均为小写。
echo $request->header['host'];
echo $request->header['accept-language'];
© Swoole.com 2008 - 2023 备案号:苏ICP备19021875号-1 | 苏公网安备 32058302002209号 | 版权声明
官方QQ群:810919826 开发组邮件列表: team@swoole.com 当前Swoole扩展版本:swoole-SWOOLE_VERSION