Modified HttpServer.cs (added RootPath property)
This commit is contained in:
@@ -12,6 +12,7 @@ namespace Example3
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
_httpsv = new HttpServer(4649);
|
||||
//_httpsv.RootPath = "../../Public";
|
||||
//_httpsv.Sweeping = false;
|
||||
_httpsv.AddWebSocketService<Echo>("/Echo");
|
||||
_httpsv.AddWebSocketService<Chat>("/Chat");
|
||||
|
Reference in New Issue
Block a user