问题描述 <?php use Workerman\Connection\TcpConnection; use Workerman\Coroutine\Context; use Workerman\Coroutine; use Workerman\Coroutine\Pool; use Workerman\Events\Swoole; use Workerman\Protocols\Http\Request; u...
问题描述 在使用workerman 创建 wss 客户端调用通义千问的实时语音合成模型时, 使用官方示例写法设置hearder后, 千问服务端却返回 401 。 但是使用官方的python 示例脚本没有问题。 还有如果使用原始拼接发送hearder 也没有问题。 是不是Bug呢 ? 程序代码或配置 1.有问题的: workerman手册示例写法: $worker = new Worker(); ...
问题描述 在按照文档例子使用协程时发生如下报错 程序代码 public function Test1() { Coroutine::create(function(){ Timer::sleep(1.5); echo "hello coroutine\n"; }); return response('hello w...
问题描述 Workerman的crontab失效 程序代码或配置 public function onWorkerStart() { // var_dump(112222); // //每每5秒执行一次 // $task = function(){ // var_dump(111); //// $this->holid...