Changed server example to feature both a http and a websocket handler concurrently.

This commit is contained in:
2019-07-25 11:27:31 +03:00
parent a5fce05457
commit 9e33886d75
+1
View File
@@ -28,6 +28,7 @@ namespace MTSC_TestServer
.AddExceptionHandler(new ExceptionConsoleLogger())
//.AddHandler(new BroadcastHandler())
.AddHandler(new WebsocketHandler().AddWebsocketHandler(new EchoModule()))
.AddHandler(new HttpHandler().AddHttpModule(new HelloWorldModule()))
.Run();
}