webman2.1启用eventloop=swoole::class后,http-client报错

问题描述 procss.php中开启'eventLoop' => \Workerman\Events\Swoole::class, 使用workerman/http-client3.0.5请求http://www.baidu.com在成,但是请求https://www.baidu.com异常了。 程序代码 $url = "https://www.baidu.com"; try { // 使用协程创建客户端 $...

zhengxq 发表与 7天前 88 浏览 1 回答

zhengxq

100
积分
0
获赞数
0
粉丝数
2025-10-17 加入
🔝