pub unsafe trait NSURLConnectionDataDelegate: NSURLConnectionDelegate {
    // Provided methods
    unsafe fn connection_willSendRequest_redirectResponse(
        &self,
        connection: &NSURLConnection,
        request: &NSURLRequest,
        response: Option<&NSURLResponse>
    ) -> Option<Retained<NSURLRequest>>
       where Self: Sized + Message { ... }
    unsafe fn connection_didReceiveResponse(
        &self,
        connection: &NSURLConnection,
        response: &NSURLResponse
    )
       where Self: Sized + Message { ... }
    unsafe fn connection_didReceiveData(
        &self,
        connection: &NSURLConnection,
        data: &NSData
    )
       where Self: Sized + Message { ... }
    unsafe fn connection_needNewBodyStream(
        &self,
        connection: &NSURLConnection,
        request: &NSURLRequest
    ) -> Option<Retained<NSInputStream>>
       where Self: Sized + Message { ... }
    unsafe fn connection_didSendBodyData_totalBytesWritten_totalBytesExpectedToWrite(
        &self,
        connection: &NSURLConnection,
        bytes_written: NSInteger,
        total_bytes_written: NSInteger,
        total_bytes_expected_to_write: NSInteger
    )
       where Self: Sized + Message { ... }
    unsafe fn connection_willCacheResponse(
        &self,
        connection: &NSURLConnection,
        cached_response: &NSCachedURLResponse
    ) -> Option<Retained<NSCachedURLResponse>>
       where Self: Sized + Message { ... }
    unsafe fn connectionDidFinishLoading(&self, connection: &NSURLConnection)
       where Self: Sized + Message { ... }
}
Available on crate feature NSURLConnection only.

Provided Methods§

source

unsafe fn connection_willSendRequest_redirectResponse( &self, connection: &NSURLConnection, request: &NSURLRequest, response: Option<&NSURLResponse> ) -> Option<Retained<NSURLRequest>>
where Self: Sized + Message,

Available on crate features NSURLRequest and NSURLResponse only.
source

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

Available on crate feature NSURLResponse only.
source

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

Available on crate feature NSData only.
source

unsafe fn connection_needNewBodyStream( &self, connection: &NSURLConnection, request: &NSURLRequest ) -> Option<Retained<NSInputStream>>
where Self: Sized + Message,

Available on crate features NSStream and NSURLRequest only.
source

unsafe fn connection_didSendBodyData_totalBytesWritten_totalBytesExpectedToWrite( &self, connection: &NSURLConnection, bytes_written: NSInteger, total_bytes_written: NSInteger, total_bytes_expected_to_write: NSInteger )
where Self: Sized + Message,

source

unsafe fn connection_willCacheResponse( &self, connection: &NSURLConnection, cached_response: &NSCachedURLResponse ) -> Option<Retained<NSCachedURLResponse>>
where Self: Sized + Message,

Available on crate feature NSURLCache only.
source

unsafe fn connectionDidFinishLoading(&self, connection: &NSURLConnection)
where Self: Sized + Message,

Trait Implementations§

source§

impl ProtocolType for dyn NSURLConnectionDataDelegate

source§

const NAME: &'static str = "NSURLConnectionDataDelegate"

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 NSURLConnectionDataDelegate

Implementations on Foreign Types§

source§

impl<T> NSURLConnectionDataDelegate for ProtocolObject<T>

Implementors§