I'm developing a program who call an API, all works fine but I have to recover some information which are on the response header, how can I recover the information?
I have tried something like : string h = response.Headers;
but it doesn't work.
var client = new RestClient("https://xxxx.com/");
client.Authenticator = new HttpBasicAuthenticator("user", "password");
var request = new RestRequest("xx/xx/xx", Method.GET);
IRestResponse response = client.Execute(request);
var xml_text = response.Content;