请问swoole怎么设置http服务器的跨域请求?
网友回复
<?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"; }); $ht...
点击查看剩余70%
请问swoole怎么设置http服务器的跨域请求?
网友回复
<?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"; }); $ht...
点击查看剩余70%