swooler搭建http服务器如何获取get post COOKIE等数据?
以前php中是$_GET $_POST $_COOKIE
网友回复
<?php
//高性能HTTP服务器
$http = new Swoole\Http\Server("0.0.0.0", 9501);
$http->on("start", function ($server) {
echo "Swoole http server is started at port9501\n";
});
$http->on("request", function ($req...点击查看剩余70%


