Click here to Skip to main content
15,878,945 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello friends,
I am working on one project in that i am using RestSharp dll for Request and Response. I am doing work fine with less that 64kb file. If response size is > 64kb then it will not allow me to having response > 64kb.

So, My question is to you all how to increase the response size of RestSharp or You have any another option than Restsharp ?

Please Answer me ASAP i am waiting for your solutions..

Regards
Amol Lendave
Posted

1 solution

Yes i got Solution -

In RestSharp they are calling
C#
HttpWebResponse.GetResponseStream()

GetResponseStream() Method of HttpWebResponse Class is allowing content upto 64kb if response status is Not A "OK"

Otherwise It will give unlimited data into Response.

Finaly I got solution.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900