pub unsafe trait NSURLSessionStreamDelegate: NSURLSessionTaskDelegate {
// Provided methods
unsafe fn URLSession_readClosedForStreamTask(
&self,
session: &NSURLSession,
stream_task: &NSURLSessionStreamTask
)
where Self: Sized + Message { ... }
unsafe fn URLSession_writeClosedForStreamTask(
&self,
session: &NSURLSession,
stream_task: &NSURLSessionStreamTask
)
where Self: Sized + Message { ... }
unsafe fn URLSession_betterRouteDiscoveredForStreamTask(
&self,
session: &NSURLSession,
stream_task: &NSURLSessionStreamTask
)
where Self: Sized + Message { ... }
unsafe fn URLSession_streamTask_didBecomeInputStream_outputStream(
&self,
session: &NSURLSession,
stream_task: &NSURLSessionStreamTask,
input_stream: &NSInputStream,
output_stream: &NSOutputStream
)
where Self: Sized + Message { ... }
}
Available on crate feature
NSURLSession
only.Provided Methods§
unsafe fn URLSession_readClosedForStreamTask( &self, session: &NSURLSession, stream_task: &NSURLSessionStreamTask )
unsafe fn URLSession_writeClosedForStreamTask( &self, session: &NSURLSession, stream_task: &NSURLSessionStreamTask )
unsafe fn URLSession_betterRouteDiscoveredForStreamTask( &self, session: &NSURLSession, stream_task: &NSURLSessionStreamTask )
unsafe fn URLSession_streamTask_didBecomeInputStream_outputStream( &self, session: &NSURLSession, stream_task: &NSURLSessionStreamTask, input_stream: &NSInputStream, output_stream: &NSOutputStream )
Available on crate feature
NSStream
only.