Refactor ChatConnect and related classes to use dynamic typing for properties and method parameters. Update event handling to use a consistent naming convention for emitted events. Adjust WebSocket message handling methods to accept event arrays instead of specific data structures. Update configuration for Swoole to increase ping intervals and timeouts.

This commit is contained in:
li
2026-01-29 03:04:40 +08:00
parent b8cd0c9418
commit ca996c227c
27 changed files with 441 additions and 148 deletions
+2 -2
View File
@@ -28,8 +28,8 @@ return [
'enable' => true,
'handler' => Handler::class,
'parser' => Parser::class,
'ping_interval' => 1000,
'ping_timeout' => 1000,
'ping_interval' => 25000,
'ping_timeout' => 60000,
'room' => [
'type' => 'redis',
'table' => [