Edit

Share via


NSUrlSessionTaskDelegate_Extensions Class

Definition

Extension methods to the INSUrlSessionTaskDelegate interface to support all the methods from the NSUrlSessionTaskDelegate protocol.

public static class NSUrlSessionTaskDelegate_Extensions
type NSUrlSessionTaskDelegate_Extensions = class
Inheritance
NSUrlSessionTaskDelegate_Extensions

Remarks

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

Methods

DidCompleteWithError(INSUrlSessionTaskDelegate, NSUrlSession, NSUrlSessionTask, NSError)
DidFinishCollectingMetrics(INSUrlSessionTaskDelegate, NSUrlSession, NSUrlSessionTask, NSUrlSessionTaskMetrics)
DidReceiveChallenge(INSUrlSessionTaskDelegate, NSUrlSession, NSUrlSessionTask, NSUrlAuthenticationChallenge, Action<NSUrlSessionAuthChallengeDisposition, NSUrlCredential>)
DidSendBodyData(INSUrlSessionTaskDelegate, NSUrlSession, NSUrlSessionTask, Int64, Int64, Int64)
NeedNewBodyStream(INSUrlSessionTaskDelegate, NSUrlSession, NSUrlSessionTask, Action<NSInputStream>)
TaskIsWaitingForConnectivity(INSUrlSessionTaskDelegate, NSUrlSession, NSUrlSessionTask)
WillBeginDelayedRequest(INSUrlSessionTaskDelegate, NSUrlSession, NSUrlSessionTask, NSUrlRequest, Action<NSUrlSessionDelayedRequestDisposition, NSUrlRequest>)
WillPerformHttpRedirection(INSUrlSessionTaskDelegate, NSUrlSession, NSUrlSessionTask, NSHttpUrlResponse, NSUrlRequest, Action<NSUrlRequest>)

Applies to