Beispiel #1
0
        public static void CreateWebsocketHandler()
        {
            WebSocketConfigForJsonConfig websocketConfig = ConfigJson <WebSocketConfigForJsonConfig> .GetJsonFromConfigFile().Result;

            socketServer = new WebSocketTcpListener(websocketConfig);
            socketServer.RunServer(); // Start the Listener
        }