title: RestSharp compress request while making rest call to server
body: <p>I am consuming a rest api written in java in my C# client. I was pumping hell lot of data to server and I was using RestSharp.dll for the purpose of making rest calls. What I will do is construct an object and add that directly in body of RestSharp request object and mention .netserializer for it. So it will automatically serialize it and post it. All works great.</p>
  
  <p>Now I need to apply LZO or GZIP compression. So that server will have less load.</p>
  
  <p>I know how to implement both compression techniques. But how to implement it with RestSharp request object?</p>
  
  <p>What I got to do. I am adding object to body of request. When to perform compression?</p>
  
  <p>Anyhelp...</p>
  
  <p>Thanks</p>