[][src]Trait uikit_sys::INSURLProtocol

pub trait INSURLProtocol: Sized + Deref {
    unsafe fn initWithRequest_cachedResponse_client_(
        self,
        request: NSURLRequest,
        cachedResponse: NSCachedURLResponse,
        client: *mut u64
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn startLoading(self)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn stopLoading(self)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn client(self) -> *mut u64
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn request(self) -> NSURLRequest
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn cachedResponse(self) -> NSCachedURLResponse
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn canInitWithRequest_(request: NSURLRequest) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn canonicalRequestForRequest_(request: NSURLRequest) -> NSURLRequest
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn requestIsCacheEquivalent_toRequest_(
        a: NSURLRequest,
        b: NSURLRequest
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn propertyForKey_inRequest_(
        key: NSString,
        request: NSURLRequest
    ) -> id
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setProperty_forKey_inRequest_(
        value: id,
        key: NSString,
        request: NSMutableURLRequest
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn removePropertyForKey_inRequest_(
        key: NSString,
        request: NSMutableURLRequest
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn registerClass_(protocolClass: Class) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn unregisterClass_(protocolClass: Class)
    where
        Self::Target: Message + Sized
, { ... } }

Provided methods

unsafe fn initWithRequest_cachedResponse_client_(
    self,
    request: NSURLRequest,
    cachedResponse: NSCachedURLResponse,
    client: *mut u64
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn startLoading(self) where
    Self::Target: Message + Sized

unsafe fn stopLoading(self) where
    Self::Target: Message + Sized

unsafe fn client(self) -> *mut u64 where
    Self::Target: Message + Sized

unsafe fn request(self) -> NSURLRequest where
    Self::Target: Message + Sized

unsafe fn cachedResponse(self) -> NSCachedURLResponse where
    Self::Target: Message + Sized

unsafe fn canInitWithRequest_(request: NSURLRequest) -> BOOL where
    Self::Target: Message + Sized

unsafe fn canonicalRequestForRequest_(request: NSURLRequest) -> NSURLRequest where
    Self::Target: Message + Sized

unsafe fn requestIsCacheEquivalent_toRequest_(
    a: NSURLRequest,
    b: NSURLRequest
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn propertyForKey_inRequest_(key: NSString, request: NSURLRequest) -> id where
    Self::Target: Message + Sized

unsafe fn setProperty_forKey_inRequest_(
    value: id,
    key: NSString,
    request: NSMutableURLRequest
) where
    Self::Target: Message + Sized

unsafe fn removePropertyForKey_inRequest_(
    key: NSString,
    request: NSMutableURLRequest
) where
    Self::Target: Message + Sized

unsafe fn registerClass_(protocolClass: Class) -> BOOL where
    Self::Target: Message + Sized

unsafe fn unregisterClass_(protocolClass: Class) where
    Self::Target: Message + Sized

Loading content...

Implementors

impl INSURLProtocol for NSURLProtocol[src]

Loading content...