Modified HttpServer.cs (added RootPath property)

This commit is contained in:
sta
2013-07-04 15:48:01 +09:00
parent 0619a43caa
commit b9c5c222ca
2 changed files with 46 additions and 14 deletions

View File

@@ -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");