|
|
@ -1,9 +1,10 @@ |
|
|
|
import * as http from "http"; |
|
|
|
import * as http from "http"; |
|
|
|
import * as WebSocket from "ws"; |
|
|
|
import * as WebSocket from "ws"; |
|
|
|
|
|
|
|
|
|
|
|
import log from "@common/logger"; |
|
|
|
|
|
|
|
import { createApp, ServerState, WebSocketApi } from "../"; |
|
|
|
import { createApp, ServerState, WebSocketApi } from "../"; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import log from "@common/logger"; |
|
|
|
|
|
|
|
|
|
|
|
const state = new ServerState(); |
|
|
|
const state = new ServerState(); |
|
|
|
const app = createApp(state); |
|
|
|
const app = createApp(state); |
|
|
|
const webSocketApi = new WebSocketApi(state); |
|
|
|
const webSocketApi = new WebSocketApi(state); |
|
|
|