Trait NSURLConnectionDelegate

Source
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-foundation
Available on crate feature Foundation only.

Provided Methodsยง

Source

unsafe fn connection_didFailWithError( &self, connection: &NSURLConnection, error: &NSError, )
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated: icrate::Foundation has been moved to objc2-foundation
Available on crate features Foundation_NSError and Foundation_NSURLConnection only.
Source

unsafe fn connectionShouldUseCredentialStorage( &self, connection: &NSURLConnection, ) -> bool
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated: icrate::Foundation has been moved to objc2-foundation
Available on crate feature Foundation_NSURLConnection only.
Source

unsafe fn connection_willSendRequestForAuthenticationChallenge( &self, connection: &NSURLConnection, challenge: &NSURLAuthenticationChallenge, )
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated: icrate::Foundation has been moved to objc2-foundation
Available on crate features Foundation_NSURLAuthenticationChallenge and Foundation_NSURLConnection only.
Source

unsafe fn connection_canAuthenticateAgainstProtectionSpace( &self, connection: &NSURLConnection, protection_space: &NSURLProtectionSpace, ) -> bool
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated: Use -connection:willSendRequestForAuthenticationChallenge: instead.
Available on crate features Foundation_NSURLConnection and Foundation_NSURLProtectionSpace only.
Source

unsafe fn connection_didReceiveAuthenticationChallenge( &self, connection: &NSURLConnection, challenge: &NSURLAuthenticationChallenge, )
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated: Use -connection:willSendRequestForAuthenticationChallenge: instead.
Available on crate features Foundation_NSURLAuthenticationChallenge and Foundation_NSURLConnection only.
Source

unsafe fn connection_didCancelAuthenticationChallenge( &self, connection: &NSURLConnection, challenge: &NSURLAuthenticationChallenge, )
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated: Use -connection:willSendRequestForAuthenticationChallenge: instead.
Available on crate features Foundation_NSURLAuthenticationChallenge and Foundation_NSURLConnection only.

Trait Implementationsยง

Sourceยง

impl ProtocolType for dyn NSURLConnectionDelegate

Sourceยง

const NAME: &'static str = "NSURLConnectionDelegate"

The name of the Objective-C protocol that this type represents.
Sourceยง

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
Sourceยง

impl<T> ImplementedBy<T> for dyn NSURLConnectionDelegate

Implementations on Foreign Typesยง

Sourceยง

impl<T> NSURLConnectionDelegate for ProtocolObject<T>

Implementorsยง