NSURLConnection timeout -- what happens?
NSURLConnection timeout -- what happens?
- Subject: NSURLConnection timeout -- what happens?
- From: Stuart Malin <email@hidden>
- Date: Thu, 15 Oct 2009 14:44:16 -0400
I have looked through the NSURLConnection class reference, the
NSURLRequest class reference, the URL Loading System guide, queried
Google, searched mailing list archives, and even looked through
NSURLConnection.h, but can not find documentation about what happens
when an NSURLConnection times out. I presume that -- for the
asynchronous case -- the invoker's -connection:didFailWithError:
selector will be messaged. Is this so? Where is that defined?
Also, the class reference for NSURLConnection's -
connection:didFailWithError: says of the provided NSError object:
"An error object containing details of why the connection failed to
load the request successfully."
But I haven't been able to find any documentation of what the possible
errors are, and what the data would be for those reported failures.
The URL Loading System guide has an example that uses the key
"NSErrorFailingURLStringKey" to access a value from the error object's
userInfo dictionary. Where might other such keys be defined?
Can someone please point me to appropriate reference materials.
TIA,
--Stuart
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden