Bewerken

Delen via


NSUrlSessionDelegate_Extensions Class

Definition

Extension methods to the INSUrlSessionDelegate interface to support all the methods from the NSUrlSessionDelegate protocol.

public static class NSUrlSessionDelegate_Extensions
type NSUrlSessionDelegate_Extensions = class
Inheritance
NSUrlSessionDelegate_Extensions

Remarks

The extension methods for INSUrlSessionDelegate allow developers to treat instances of the interface as having all the optional methods of the original NSUrlSessionDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Methods

DidBecomeInvalid(INSUrlSessionDelegate, NSUrlSession, NSError)
DidFinishEventsForBackgroundSession(INSUrlSessionDelegate, NSUrlSession)
DidReceiveChallenge(INSUrlSessionDelegate, NSUrlSession, NSUrlAuthenticationChallenge, Action<NSUrlSessionAuthChallengeDisposition,NSUrlCredential>)

Applies to