How can I set the session timeout using ASIHTTPRequest ?
Thanks
You can set the default timeout for ASIHttpRequest by using:
[ASIHTTPRequest setDefaultTimeOutSeconds:20];
Is that what your looking for?
Given an instance of ASIHttpRequest, you can use
asiRequest.timeOutSeconds = 20;
This is useful if you only want to change the timeout from the default for one request.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With