From 6f6c110dc96495f39f4cee71b502482a6baff76c Mon Sep 17 00:00:00 2001 From: sta Date: Sun, 30 Jan 2022 22:16:15 +0900 Subject: [PATCH] [Modify] Polish it --- Example3/Program.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Example3/Program.cs b/Example3/Program.cs index 83f4e861..58fb125f 100644 --- a/Example3/Program.cs +++ b/Example3/Program.cs @@ -158,8 +158,10 @@ namespace Example3 */ httpsv.Start (); + if (httpsv.IsListening) { Console.WriteLine ("Listening on port {0}, and providing WebSocket services:", httpsv.Port); + foreach (var path in httpsv.WebSocketServices.Paths) Console.WriteLine ("- {0}", path); }