-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose a property in System.Net.Http.HttpResponseMessage which will give the remote ip it connects to #38407
Comments
Tagging subscribers to this area: @dotnet/ncl |
Tagging subscribers to this area: @dotnet/ncl |
@shine17 do you have a proposed API? there are a few different ways we might do this -- we're generally inclined to not introduce a new API for this as it would introduce overhead for all users, not just those who would use it. But, there may be other ways (such as using System.Net.Connections to filter on connect()). |
Duplicate of #63159 |
(it has more details, so closing this issue) |
Currently the HttpResponseMessage doesn't expose a property which tells which remote ip it gets response from. There is no way of getting the ip address when TCP connection established. It will be good if we can expose a property in HttpResponseMessage which tells about the ip it get response. Node js https library have that, I think dotnet also should have this exposed.
The text was updated successfully, but these errors were encountered: