pub unsafe trait NSURLConnectionDelegate: NSObjectProtocol {
// Provided methods
unsafe fn connection_didFailWithError(
&self,
connection: &NSURLConnection,
error: &NSError
)
where Self: Sized + Message { ... }
unsafe fn connectionShouldUseCredentialStorage(
&self,
connection: &NSURLConnection
) -> bool
where Self: Sized + Message { ... }
unsafe fn connection_willSendRequestForAuthenticationChallenge(
&self,
connection: &NSURLConnection,
challenge: &NSURLAuthenticationChallenge
)
where Self: Sized + Message { ... }
unsafe fn connection_canAuthenticateAgainstProtectionSpace(
&self,
connection: &NSURLConnection,
protection_space: &NSURLProtectionSpace
) -> bool
where Self: Sized + Message { ... }
unsafe fn connection_didReceiveAuthenticationChallenge(
&self,
connection: &NSURLConnection,
challenge: &NSURLAuthenticationChallenge
)
where Self: Sized + Message { ... }
unsafe fn connection_didCancelAuthenticationChallenge(
&self,
connection: &NSURLConnection,
challenge: &NSURLAuthenticationChallenge
)
where Self: Sized + Message { ... }
}
Available on crate feature
NSURLConnection
only.Provided Methods§
unsafe fn connection_didFailWithError( &self, connection: &NSURLConnection, error: &NSError )
Available on crate feature
NSError
only.unsafe fn connectionShouldUseCredentialStorage( &self, connection: &NSURLConnection ) -> bool
unsafe fn connection_willSendRequestForAuthenticationChallenge( &self, connection: &NSURLConnection, challenge: &NSURLAuthenticationChallenge )
Available on crate feature
NSURLAuthenticationChallenge
only.unsafe fn connection_canAuthenticateAgainstProtectionSpace( &self, connection: &NSURLConnection, protection_space: &NSURLProtectionSpace ) -> bool
👎Deprecated: Use -connection:willSendRequestForAuthenticationChallenge: instead.
Available on crate feature
NSURLProtectionSpace
only.unsafe fn connection_didReceiveAuthenticationChallenge( &self, connection: &NSURLConnection, challenge: &NSURLAuthenticationChallenge )
👎Deprecated: Use -connection:willSendRequestForAuthenticationChallenge: instead.
Available on crate feature
NSURLAuthenticationChallenge
only.unsafe fn connection_didCancelAuthenticationChallenge( &self, connection: &NSURLConnection, challenge: &NSURLAuthenticationChallenge )
👎Deprecated: Use -connection:willSendRequestForAuthenticationChallenge: instead.
Available on crate feature
NSURLAuthenticationChallenge
only.