편집

다음을 통해 공유


NSUrlConnectionDelegate_Extensions Class

Definition

Extension methods to the INSUrlConnectionDelegate interface to support all the methods from the NSUrlConnectionDelegate protocol.

public static class NSUrlConnectionDelegate_Extensions
type NSUrlConnectionDelegate_Extensions = class
Inheritance
NSUrlConnectionDelegate_Extensions

Remarks

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

Methods

CanAuthenticateAgainstProtectionSpace(INSUrlConnectionDelegate, NSUrlConnection, NSUrlProtectionSpace)

Developers should not use this deprecated method. Developers should use 'WillSendRequestForAuthenticationChallenge' instead.

CanceledAuthenticationChallenge(INSUrlConnectionDelegate, NSUrlConnection, NSUrlAuthenticationChallenge)
ConnectionShouldUseCredentialStorage(INSUrlConnectionDelegate, NSUrlConnection)
FailedWithError(INSUrlConnectionDelegate, NSUrlConnection, NSError)
ReceivedAuthenticationChallenge(INSUrlConnectionDelegate, NSUrlConnection, NSUrlAuthenticationChallenge)
WillSendRequestForAuthenticationChallenge(INSUrlConnectionDelegate, NSUrlConnection, NSUrlAuthenticationChallenge)

Applies to