在workerman中启用swoole驱动,ctrl+c 报以下错误

Fatal error: Uncaught Swoole\ExitException: swoole exit in /home/pi/workspace/wsw/vendor/workerman/workerman/Worker.php:1770 Stack trace: #0 /home/pi/workspace/wsw/vendor/workerman/workerman/Worker.php(1083): W...

wenken 发表与 2019-06-18 5070 浏览 3 回答
workerman作为ws客户端,如何设置额外的header?

$header = "Cookie: cId=26628661780583\r\n"; $header .= "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36\r\n"; $...

顾涛 发表与 2019-03-12 6212 浏览 2 回答

wenken

32
积分
0
获赞数
0
粉丝数
2018-12-20 加入
×
🔝