Can you share your answer to me for
NSURLRequest
defaulttimeoutInterval
timeNSMutableURLRequest
defaulttimeoutInterval
time
Can you share your answer to me for
NSURLRequest
default timeoutInterval
timeNSMutableURLRequest
default timeoutInterval
timeFor both NSURLRequest & NSMutableURLRequest default timeoutInterval time is 60 secs
The default cache policy is
NSURLRequestUseProtocolCachePolicy
and the default timeout interval is 60 seconds.
requestWithURL:
method, which is listed at the link posted in the answer. –
Bannockburn FYI - the interval changed with iOS 6.0 from 240 to 60.
For reference, the default timeout interval is defined within the header file for NSURLRequest
, by the side of +requestWithURL:
It explicitly says it's 60 seconds.
© 2022 - 2024 — McMap. All rights reserved.
NSURLRequest
object and logging the timeout interval. – Toffic