[Modify] Polish it
This commit is contained in:
parent
7f916edafa
commit
6f6c110dc9
@ -158,8 +158,10 @@ namespace Example3
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
httpsv.Start ();
|
httpsv.Start ();
|
||||||
|
|
||||||
if (httpsv.IsListening) {
|
if (httpsv.IsListening) {
|
||||||
Console.WriteLine ("Listening on port {0}, and providing WebSocket services:", httpsv.Port);
|
Console.WriteLine ("Listening on port {0}, and providing WebSocket services:", httpsv.Port);
|
||||||
|
|
||||||
foreach (var path in httpsv.WebSocketServices.Paths)
|
foreach (var path in httpsv.WebSocketServices.Paths)
|
||||||
Console.WriteLine ("- {0}", path);
|
Console.WriteLine ("- {0}", path);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user