HttpClient HttpResponseMessage Address / URI

I am developing a C # WinRT application that makes POST and GET requests to a web server.

Does anyone know if there is a way to get the response URI / address when using the HttpClient object?

If I use the HttpWebRequest / HttpWebResponse classes, then I can get this information (via the ResponseUri property in HttpWebResponse), but I don’t see how to get it using the HttpClient / HttpResponseMessage classes.

thank

+5
source share
1 answer

It's two years, but I just stumbled upon this question with the same desire, and comment @PeterRitchie was answered , so I copy this for future visitors.

, HttpResponseMessage.RequestMessage.RequestUri

+3

All Articles