timeoutInterval
Returns the receiver’s timeout interval, in seconds.
- (NSTimeInterval)timeoutInterval
Return Value of [NSURLRequest timeoutInterval]
The receiver's timeout interval, in seconds.
Discussion of [NSURLRequest timeoutInterval]
If during a connection attempt the request remains idle for longer than the timeout interval, the request is considered to have timed out.
Example of [NSURLRequest timeoutInterval]
NSMutableURLRequest* request = [[NSMutableURLRequest alloc] initWithURL:[NSURL URLWithString:url] cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:240.0];
request.timeoutInterval = 70;