get server - scil/LaravelFly GitHub Wiki
Get LaravelFly Server
-
\LaravelFly\Fly::getServer()
-
app()->getServer()
Get Swoole Server
-
\LaravelFly\Fly::getServer()->getSwooleServer()
-
app()->getSwooleServer()
\LaravelFly\Fly::getServer()
app()->getServer()
\LaravelFly\Fly::getServer()->getSwooleServer()
app()->getSwooleServer()