I am loading a stream using RestSharp using ResponseWriter.
var client = new RestClient
var request = new RestRequest();
request.ResponseWriter = (ms) => {
};
var response = client.Execute(request);
How to find out HTTP status code in ResponseWriter? Is there a better way to download Stream?
source
share