Editar

Compartir a través de


NSUrlSessionDataDelegate_Extensions Class

Definition

Extension methods to the INSUrlSessionDataDelegate interface to support all the methods from the NSUrlSessionDataDelegate protocol.

public static class NSUrlSessionDataDelegate_Extensions
type NSUrlSessionDataDelegate_Extensions = class
Inheritance
NSUrlSessionDataDelegate_Extensions

Remarks

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

Methods

DidBecomeDownloadTask(INSUrlSessionDataDelegate, NSUrlSession, NSUrlSessionDataTask, NSUrlSessionDownloadTask)
DidBecomeStreamTask(INSUrlSessionDataDelegate, NSUrlSession, NSUrlSessionDataTask, NSUrlSessionStreamTask)
DidReceiveData(INSUrlSessionDataDelegate, NSUrlSession, NSUrlSessionDataTask, NSData)
DidReceiveResponse(INSUrlSessionDataDelegate, NSUrlSession, NSUrlSessionDataTask, NSUrlResponse, Action<NSUrlSessionResponseDisposition>)
WillCacheResponse(INSUrlSessionDataDelegate, NSUrlSession, NSUrlSessionDataTask, NSCachedUrlResponse, Action<NSCachedUrlResponse>)

Applies to