This commit is contained in:
2021-02-20 17:30:45 +08:00
parent cc19a2a198
commit 2718381c74
+2 -1
View File
@@ -4,6 +4,7 @@
namespace HttpServer; namespace HttpServer;
use Annotation\IAnnotation; use Annotation\IAnnotation;
use HttpServer\Abstracts\HttpService;
use HttpServer\Events\OnClose; use HttpServer\Events\OnClose;
use HttpServer\Events\OnConnect; use HttpServer\Events\OnConnect;
use HttpServer\Events\OnPacket; use HttpServer\Events\OnPacket;
@@ -40,7 +41,7 @@ use Swoole\Runtime;
* ['host'=> '127.0.0.1', 'port'=> 5775, 'mode'=> SWOOLE_TCP] * ['host'=> '127.0.0.1', 'port'=> 5775, 'mode'=> SWOOLE_TCP]
* ] * ]
*/ */
class Server extends Application class Server extends HttpService
{ {
use Action; use Action;