<?php Swoole\Http\Request->header
The Swoole\Http\Request->header is an array which contains the information of http request.
Swoole\Http\Request->header
All the keys of this array is lowercase.
<?php echo $request->header['host']; echo $request->header['accept-language'];
Join 1,000+ others and never miss out on new tips, tutorials, and more.