feat: refact the remaining files into TS

This commit is contained in:
砚然
2018-08-31 17:40:30 +08:00
parent bcb7451579
commit 0385096857
12 changed files with 310 additions and 252 deletions

View File

@@ -412,9 +412,11 @@ class RequestHandler {
public dangerouslyIgnoreUnauthorized: boolean;
public httpServerPort: string;
public wsIntercept: boolean;
public conns: Map<string, net.Socket>;
public cltSockets: Map<string, net.Socket>;
public connectReqHandler: () => void;
private userRequestHandler: () => void;
private wsHandler: (wsClient: WebSocket, wsReq: http.IncomingMessage) => void;
public userRequestHandler: () => void;
public wsHandler: (wsClient: WebSocket, wsReq: http.IncomingMessage) => void;
private httpsServerMgr: HttpsServerMgr;
/**
* Creates an instance of RequestHandler.