Instance Method

connection:didFailWithError:

Sent when a connection fails to load its request successfully.

Declaration

- (void)connection:(NSURLConnection *)connection didFailWithError:(NSError *)error;

Parameters

connection

The connection sending the message.

error

An error object containing details of why the connection failed to load the request successfully.

Discussion

Once the delegate receives this message, it will receive no further messages for connection.