This commit is contained in:
2020-09-02 12:20:19 +08:00
parent edac69c4b8
commit d1f23c6e34
+1
View File
@@ -45,6 +45,7 @@ class Server extends Application
const PACKAGE = 'PACKAGE';
const WEBSOCKET = 'WEBSOCKET';
private $listening = [];
private $server = [
'HTTP' => [SWOOLE_TCP, Http::class],
'TCP' => [SWOOLE_TCP, Receive::class],