public interface NSURLSessionDelegate
| Modifier and Type | Interface and Description |
|---|---|
static interface |
NSURLSessionDelegate.Block_URLSessionDidReceiveChallengeCompletionHandler |
| Modifier and Type | Method and Description |
|---|---|
default void |
URLSessionDidBecomeInvalidWithError(NSURLSession session,
NSError error)
The last message a session receives.
|
default void |
URLSessionDidFinishEventsForBackgroundURLSession(NSURLSession session)
If an application has received an
-application:handleEventsForBackgroundURLSession:completionHandler:
message, the session delegate will receive this message to indicate
that all messages previously enqueued for this session have been
delivered.
|
default void |
URLSessionDidReceiveChallengeCompletionHandler(NSURLSession session,
NSURLAuthenticationChallenge challenge,
NSURLSessionDelegate.Block_URLSessionDidReceiveChallengeCompletionHandler completionHandler)
If implemented, when a connection level authentication challenge
has occurred, this delegate will be given the opportunity to
provide authentication credentials to the underlying
connection.
|
default void URLSessionDidBecomeInvalidWithError(NSURLSession session, NSError error)
default void URLSessionDidReceiveChallengeCompletionHandler(NSURLSession session, NSURLAuthenticationChallenge challenge, NSURLSessionDelegate.Block_URLSessionDidReceiveChallengeCompletionHandler completionHandler)
default void URLSessionDidFinishEventsForBackgroundURLSession(NSURLSession session)