• 2024-07-19swoole4 websocket + pdo连接池
    <?phpdeclare(strict_types=1);namespaceapp\api\controller\yy;useapp\common\controller\Api;useSwoole\Coroutine;useSwoole\Database\PDOConfig;useSwoole\Database\PDOPool;useSwoole\Runtime;usethink\Controller;classWebsocket{