[][src]Trait uikit_sys::PNSURLProtocolClient

pub trait PNSURLProtocolClient: Sized + Deref {
    unsafe fn URLProtocol_wasRedirectedToRequest_redirectResponse_(
        self,
        protocol: NSURLProtocol,
        request: NSURLRequest,
        redirectResponse: NSURLResponse
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn URLProtocol_cachedResponseIsValid_(
        self,
        protocol: NSURLProtocol,
        cachedResponse: NSCachedURLResponse
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn URLProtocol_didReceiveResponse_cacheStoragePolicy_(
        self,
        protocol: NSURLProtocol,
        response: NSURLResponse,
        policy: NSURLCacheStoragePolicy
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn URLProtocol_didLoadData_(
        self,
        protocol: NSURLProtocol,
        data: NSData
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn URLProtocolDidFinishLoading_(self, protocol: NSURLProtocol)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn URLProtocol_didFailWithError_(
        self,
        protocol: NSURLProtocol,
        error: NSError
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn URLProtocol_didReceiveAuthenticationChallenge_(
        self,
        protocol: NSURLProtocol,
        challenge: NSURLAuthenticationChallenge
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn URLProtocol_didCancelAuthenticationChallenge_(
        self,
        protocol: NSURLProtocol,
        challenge: NSURLAuthenticationChallenge
    )
    where
        Self::Target: Message + Sized
, { ... } }

Provided methods

unsafe fn URLProtocol_wasRedirectedToRequest_redirectResponse_(
    self,
    protocol: NSURLProtocol,
    request: NSURLRequest,
    redirectResponse: NSURLResponse
) where
    Self::Target: Message + Sized

unsafe fn URLProtocol_cachedResponseIsValid_(
    self,
    protocol: NSURLProtocol,
    cachedResponse: NSCachedURLResponse
) where
    Self::Target: Message + Sized

unsafe fn URLProtocol_didReceiveResponse_cacheStoragePolicy_(
    self,
    protocol: NSURLProtocol,
    response: NSURLResponse,
    policy: NSURLCacheStoragePolicy
) where
    Self::Target: Message + Sized

unsafe fn URLProtocol_didLoadData_(self, protocol: NSURLProtocol, data: NSData) where
    Self::Target: Message + Sized

unsafe fn URLProtocolDidFinishLoading_(self, protocol: NSURLProtocol) where
    Self::Target: Message + Sized

unsafe fn URLProtocol_didFailWithError_(
    self,
    protocol: NSURLProtocol,
    error: NSError
) where
    Self::Target: Message + Sized

unsafe fn URLProtocol_didReceiveAuthenticationChallenge_(
    self,
    protocol: NSURLProtocol,
    challenge: NSURLAuthenticationChallenge
) where
    Self::Target: Message + Sized

unsafe fn URLProtocol_didCancelAuthenticationChallenge_(
    self,
    protocol: NSURLProtocol,
    challenge: NSURLAuthenticationChallenge
) where
    Self::Target: Message + Sized

Loading content...

Implementors

Loading content...