Skip to content

Commit

Permalink
debug test app
Browse files Browse the repository at this point in the history
  • Loading branch information
Kielek committed Oct 26, 2023
1 parent bff68e5 commit 5e1e98f
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,10 @@
var addressFeature = server?.Features.Get<IServerAddressesFeature>();
var address = addressFeature?.Addresses.First();

foreach (var addressFeatureAddress in addressFeature!.Addresses)
{
Console.WriteLine(addressFeatureAddress);
}

using var httpClient = new HttpClient();
httpClient.GetAsync($"{address}/test").Wait();

0 comments on commit 5e1e98f

Please sign in to comment.