Changed websocket handler reference in interface.

Added file server implementation for http.
This commit is contained in:
2019-07-26 08:40:53 +03:00
parent a698ce92de
commit 5c0107ae0a
14 changed files with 195 additions and 30 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ namespace MTSC_TestServer
.AddExceptionHandler(new ExceptionConsoleLogger())
//.AddHandler(new BroadcastHandler())
.AddHandler(new WebsocketHandler().AddWebsocketHandler(new BroadcastModule()))
.AddHandler(new HttpHandler().AddHttpModule(new HelloWorldModule()))
.AddHandler(new HttpHandler().AddHttpModule(new FileServerModule()))
.Run();
}