[][src]Trait uikit_sys::PNSURLConnectionDataDelegate

pub trait PNSURLConnectionDataDelegate: Sized + Deref {
    unsafe fn connection_willSendRequest_redirectResponse_(
        self,
        connection: NSURLConnection,
        request: NSURLRequest,
        response: NSURLResponse
    ) -> NSURLRequest
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn connection_didReceiveResponse_(
        self,
        connection: NSURLConnection,
        response: NSURLResponse
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn connection_didReceiveData_(
        self,
        connection: NSURLConnection,
        data: NSData
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn connection_needNewBodyStream_(
        self,
        connection: NSURLConnection,
        request: NSURLRequest
    ) -> NSInputStream
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn connection_didSendBodyData_totalBytesWritten_totalBytesExpectedToWrite_(
        self,
        connection: NSURLConnection,
        bytesWritten: NSInteger,
        totalBytesWritten: NSInteger,
        totalBytesExpectedToWrite: NSInteger
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn connection_willCacheResponse_(
        self,
        connection: NSURLConnection,
        cachedResponse: NSCachedURLResponse
    ) -> NSCachedURLResponse
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn connectionDidFinishLoading_(self, connection: NSURLConnection)
    where
        Self::Target: Message + Sized
, { ... } }

Provided methods

unsafe fn connection_willSendRequest_redirectResponse_(
    self,
    connection: NSURLConnection,
    request: NSURLRequest,
    response: NSURLResponse
) -> NSURLRequest where
    Self::Target: Message + Sized

unsafe fn connection_didReceiveResponse_(
    self,
    connection: NSURLConnection,
    response: NSURLResponse
) where
    Self::Target: Message + Sized

unsafe fn connection_didReceiveData_(
    self,
    connection: NSURLConnection,
    data: NSData
) where
    Self::Target: Message + Sized

unsafe fn connection_needNewBodyStream_(
    self,
    connection: NSURLConnection,
    request: NSURLRequest
) -> NSInputStream where
    Self::Target: Message + Sized

unsafe fn connection_didSendBodyData_totalBytesWritten_totalBytesExpectedToWrite_(
    self,
    connection: NSURLConnection,
    bytesWritten: NSInteger,
    totalBytesWritten: NSInteger,
    totalBytesExpectedToWrite: NSInteger
) where
    Self::Target: Message + Sized

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

unsafe fn connectionDidFinishLoading_(self, connection: NSURLConnection) where
    Self::Target: Message + Sized

Loading content...

Implementors

Loading content...