Renamed ServiceHostManager.cs to WebSocketServiceHostManager.cs

This commit is contained in:
sta
2013-08-28 15:49:52 +09:00
parent cc81fd340c
commit b3fa68d8ce
8 changed files with 635 additions and 777 deletions

View File

@@ -31,16 +31,11 @@ namespace Example3
onGet (e);
};
_httpsv.OnError += (sender, e) =>
{
Console.WriteLine (e.Message);
};
_httpsv.Start ();
if (_httpsv.IsListening)
{
Console.WriteLine ("HTTP Server listening on port: {0} service path:", _httpsv.Port);
foreach (var path in _httpsv.ServicePaths)
foreach (var path in _httpsv.WebSocketServices.ServicePaths)
Console.WriteLine (" {0}", path);
Console.WriteLine ();