workerman
首页
问答
分享
手册
市场
商业
AI客服系统源码
聊天系统源码
Webman AI
物联网
赞助商
webman
搜索
+
发布
提问
分享
webman插件
webman应用
登录
注册
问答
workerman创建wss客户端无法调用通义千问的实时语音合成模型!!!!!!
Sec-WebSocket-Accept
not
found.
文档
onBufferFull
0.0.0.0:8484'); $worker->onBufferFull = function(TcpConnection $connection) { echo "bufferFull and do
not
文档
例子-集群推送
isset($worker->connections[$to_connection_id])) { echo "connection
not
exists\n";
分享
绝版-打造composer离线仓库
composer.lock绝对路径,注意\要改为/ $zip_dest_dir = "D:/4.PHP/Code/wfdemo_repos";// 修改为离线仓库目录,再次运行旧的不会清空
run
lock_file composer.lock文件绝对地址 * @param string $zip_dest_dir zip文件目标目录,没有会自动生成 * @return void */ function
run
文档
add
2.5秒执行一次 $time_interval = 2.5; Timer::add($time_interval, function() { echo "task
run
前面必须加地址符 & $timer_id = Timer::add(1, function()use(&$timer_id, &$count) { echo "Timer
run
分享
使用 php-serialize 自动生成 OpenAPI 文档:高效构建 API 接口文档的利器
UserDto { return new UserDto(); } } ``` ## 启动服务 ### Docker启动 进入项目根目录 ```shell docker
run
问答
sudo php gateway.php start 启动后无响应
Worker; use GatewayWorker\Register; use GatewayWorker\BusinessWorker; use GatewayWorker\Gateway; class
Run
问答
webman-admin 插件中使用 thinkorm 在插件下的配置文件未生效
Workerman\Worker::runAll() #26 C:\Users\Administrator\Desktop\project\php\webman\start.php(4): support\App::
run
问答
onWebSocketConnect函数触发问题
world \n"); // // $connection->send(print_r(Gateway::getClientIdByUid('123456')) ); // // //}; //
run
文档
添加功能模块
plugin/ai_invite/install.sql ```sql CREATE TABLE `ai_invite` ( `id` int
NOT
NULL AUTO_INCREMENT COMMENTCHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='邀请'; CREATE TABLE `ai_invite_rewards` ( `id` int
NOT
COLLATE utf8mb4_general_ci COMMENT '数据', `type` enum('register','recharge') COLLATE utf8mb4_general_ci
NOT
分享
Webman日志按日期分割
triggered * @param bool $bubble Whether the messages that are handled can bubble up the stack or
not
分享
🚀 我的第四个webman插件 exception-handler 异常插件
app/controller/Authentication.php(25): ..." } } ``` ### 自定义自己的异常类 #### 定义异常类 自定义一个:`405 Method
Not
问答
jsonRPC调用加载动态对象
report($class, $method, $success, $code, $e, $statistic_address); if(strpos($e->getMessage(),'
not
问答
[已解決]webman多进程导致mysql死锁
$rs) throw new Exception('
not
found'); $rs = Db::table('tbl_rateList')->where([ 'planID'=
问答
只是更换了服务器,一直报这个错,ws始终连接不上。
The connections between Gateway and BusinessWorker are
not
ready **!
文档
常见问题
stream_socket_client(): php_network_getaddresses: getaddrinfo for 具体域名.com failed: Name or service
not
问答
package. package_length 在使用Channel的时候,出险这样的错误提示,请问,是什么原因,如何解决
method_exists($this, $event)) { $this->worker->$event = ; } } //
Run
isset($worker->connections)) { echo "connection
not
exists\n"; return
文档
一些例子
is_file($file_to_transfer)) { exit("$file_to_transfer
not
exist\n"); } // 建立socket连接 $client = stream_socket_clientis_file($file_to_transfer)) { exit("$file_to_transfer
not
exist\n"); } // 建立socket连接 $client = stream_socket_client
分享
docker生产环境文件
/scripts/composer/2.7.9/composer.phar /usr/local/bin/composer # 解压php源代码
RUN
docker-php-source extract
问答
webman supportResponse中自定义方法无效了
#12 /Users/gavin/Sites/triptain/erp/vendor/workerman/workerman/Worker.php(1555): Workerman\Worker->
run
« 上一页
1
...
51
52
53
54
55
56
57
下一页 »
« 上一页
54
下一页 »
赞助商
+成为赞助商
请作者喝咖啡
×
🔝