2021年1月5日

Swoole从入门到入土(20)——WebSocket服务器[协程版本]

摘要: 本篇让我们先用一段示例代码开路: <?php Co\run(function () { $server = new Co\Http\Server('0.0.0.0', 9501, false); $server->handle('/', function ($request, $ws) { $ws- 阅读全文

posted @ 2021-01-05 10:13 咚..咚 阅读(421) 评论(0) 推荐(0) 编辑

导航