Browse Source

[Modify] Polish it

pull/571/merge
sta 3 months ago
parent
commit
b7a1b356d2
  1. 8
      Example3/Program.cs

8
Example3/Program.cs

@ -180,18 +180,24 @@ namespace Example3
}
);
// Start the server.
httpsv.Start ();
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)
Console.WriteLine ("- {0}", path);
}
Console.WriteLine ("\nPress Enter key to stop the server...");
Console.ReadLine ();
// Stop the server.
httpsv.Stop ();
}
}

Loading…
Cancel
Save