feat: refact wsServer, wsServerMgr, ruleLoader, systemProxyMgr into TS

This commit is contained in:
砚然
2018-08-29 14:51:36 +08:00
parent 4497160284
commit bcb7451579
13 changed files with 199 additions and 155 deletions

View File

@@ -414,7 +414,7 @@ class RequestHandler {
public wsIntercept: boolean;
public connectReqHandler: () => void;
private userRequestHandler: () => void;
private wsHandler: () => void;
private wsHandler: (wsClient: WebSocket, wsReq: http.IncomingMessage) => void;
private httpsServerMgr: HttpsServerMgr;
/**
* Creates an instance of RequestHandler.