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 { ... }
}๐Deprecated:
icrate::Foundation has been moved to objc2-foundationAvailable on crate feature
Foundation only.Provided Methodsยง
unsafe fn connection_didFailWithError( &self, connection: &NSURLConnection, error: &NSError, )
๐Deprecated:
icrate::Foundation has been moved to objc2-foundationAvailable on crate features
Foundation_NSError and Foundation_NSURLConnection only.unsafe fn connectionShouldUseCredentialStorage( &self, connection: &NSURLConnection, ) -> bool
๐Deprecated:
icrate::Foundation has been moved to objc2-foundationAvailable on crate feature
Foundation_NSURLConnection only.unsafe fn connection_willSendRequestForAuthenticationChallenge( &self, connection: &NSURLConnection, challenge: &NSURLAuthenticationChallenge, )
๐Deprecated:
icrate::Foundation has been moved to objc2-foundationAvailable on crate features
Foundation_NSURLAuthenticationChallenge and Foundation_NSURLConnection only.unsafe fn connection_canAuthenticateAgainstProtectionSpace( &self, connection: &NSURLConnection, protection_space: &NSURLProtectionSpace, ) -> bool
๐Deprecated: Use -connection:willSendRequestForAuthenticationChallenge: instead.
Available on crate features
Foundation_NSURLConnection and Foundation_NSURLProtectionSpace only.unsafe fn connection_didReceiveAuthenticationChallenge( &self, connection: &NSURLConnection, challenge: &NSURLAuthenticationChallenge, )
๐Deprecated: Use -connection:willSendRequestForAuthenticationChallenge: instead.
Available on crate features
Foundation_NSURLAuthenticationChallenge and Foundation_NSURLConnection only.unsafe fn connection_didCancelAuthenticationChallenge( &self, connection: &NSURLConnection, challenge: &NSURLAuthenticationChallenge, )
๐Deprecated: Use -connection:willSendRequestForAuthenticationChallenge: instead.
Available on crate features
Foundation_NSURLAuthenticationChallenge and Foundation_NSURLConnection only.