var client = new RestClient var request = new RestRequest(); IRestResponse response; request.AdvancedResponseWriter = (stream, response) => { // Should be able to access response which is an IHttpResponse }; response = client.Execute(request);