[][src]Trait uikit_sys::INSURLSession

pub trait INSURLSession: Sized + Deref {
    unsafe fn finishTasksAndInvalidate(self)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn invalidateAndCancel(self)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn resetWithCompletionHandler_(
        self,
        completionHandler: _bindgen_ty_id_153407
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn flushWithCompletionHandler_(
        self,
        completionHandler: _bindgen_ty_id_153411
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn getTasksWithCompletionHandler_(
        self,
        completionHandler: _bindgen_ty_id_153415
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn getAllTasksWithCompletionHandler_(
        self,
        completionHandler: _bindgen_ty_id_153425
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn dataTaskWithRequest_(
        self,
        request: NSURLRequest
    ) -> NSURLSessionDataTask
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn dataTaskWithURL_(self, url: NSURL) -> NSURLSessionDataTask
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn uploadTaskWithRequest_fromFile_(
        self,
        request: NSURLRequest,
        fileURL: NSURL
    ) -> NSURLSessionUploadTask
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn uploadTaskWithRequest_fromData_(
        self,
        request: NSURLRequest,
        bodyData: NSData
    ) -> NSURLSessionUploadTask
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn uploadTaskWithStreamedRequest_(
        self,
        request: NSURLRequest
    ) -> NSURLSessionUploadTask
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn downloadTaskWithRequest_(
        self,
        request: NSURLRequest
    ) -> NSURLSessionDownloadTask
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn downloadTaskWithURL_(self, url: NSURL) -> NSURLSessionDownloadTask
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn downloadTaskWithResumeData_(
        self,
        resumeData: NSData
    ) -> NSURLSessionDownloadTask
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn streamTaskWithHostName_port_(
        self,
        hostname: NSString,
        port: NSInteger
    ) -> NSURLSessionStreamTask
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn streamTaskWithNetService_(
        self,
        service: NSNetService
    ) -> NSURLSessionStreamTask
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn webSocketTaskWithURL_(
        self,
        url: NSURL
    ) -> NSURLSessionWebSocketTask
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn webSocketTaskWithURL_protocols_(
        self,
        url: NSURL,
        protocols: NSArray
    ) -> NSURLSessionWebSocketTask
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn webSocketTaskWithRequest_(
        self,
        request: NSURLRequest
    ) -> NSURLSessionWebSocketTask
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn init(self) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn delegateQueue(self) -> NSOperationQueue
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn delegate(self) -> *mut u64
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn configuration(self) -> NSURLSessionConfiguration
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn sessionDescription(self) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setSessionDescription_(self, sessionDescription: NSString)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn sessionWithConfiguration_(
        configuration: NSURLSessionConfiguration
    ) -> NSURLSession
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn sessionWithConfiguration_delegate_delegateQueue_(
        configuration: NSURLSessionConfiguration,
        delegate: *mut u64,
        queue: NSOperationQueue
    ) -> NSURLSession
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn new() -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn sharedSession() -> NSURLSession
    where
        Self::Target: Message + Sized
, { ... } }

Provided methods

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

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

unsafe fn resetWithCompletionHandler_(
    self,
    completionHandler: _bindgen_ty_id_153407
) where
    Self::Target: Message + Sized

unsafe fn flushWithCompletionHandler_(
    self,
    completionHandler: _bindgen_ty_id_153411
) where
    Self::Target: Message + Sized

unsafe fn getTasksWithCompletionHandler_(
    self,
    completionHandler: _bindgen_ty_id_153415
) where
    Self::Target: Message + Sized

unsafe fn getAllTasksWithCompletionHandler_(
    self,
    completionHandler: _bindgen_ty_id_153425
) where
    Self::Target: Message + Sized

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

unsafe fn dataTaskWithURL_(self, url: NSURL) -> NSURLSessionDataTask where
    Self::Target: Message + Sized

unsafe fn uploadTaskWithRequest_fromFile_(
    self,
    request: NSURLRequest,
    fileURL: NSURL
) -> NSURLSessionUploadTask where
    Self::Target: Message + Sized

unsafe fn uploadTaskWithRequest_fromData_(
    self,
    request: NSURLRequest,
    bodyData: NSData
) -> NSURLSessionUploadTask where
    Self::Target: Message + Sized

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

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

unsafe fn downloadTaskWithURL_(self, url: NSURL) -> NSURLSessionDownloadTask where
    Self::Target: Message + Sized

unsafe fn downloadTaskWithResumeData_(
    self,
    resumeData: NSData
) -> NSURLSessionDownloadTask where
    Self::Target: Message + Sized

unsafe fn streamTaskWithHostName_port_(
    self,
    hostname: NSString,
    port: NSInteger
) -> NSURLSessionStreamTask where
    Self::Target: Message + Sized

unsafe fn streamTaskWithNetService_(
    self,
    service: NSNetService
) -> NSURLSessionStreamTask where
    Self::Target: Message + Sized

unsafe fn webSocketTaskWithURL_(self, url: NSURL) -> NSURLSessionWebSocketTask where
    Self::Target: Message + Sized

unsafe fn webSocketTaskWithURL_protocols_(
    self,
    url: NSURL,
    protocols: NSArray
) -> NSURLSessionWebSocketTask where
    Self::Target: Message + Sized

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

unsafe fn init(self) -> instancetype where
    Self::Target: Message + Sized

unsafe fn delegateQueue(self) -> NSOperationQueue where
    Self::Target: Message + Sized

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

unsafe fn configuration(self) -> NSURLSessionConfiguration where
    Self::Target: Message + Sized

unsafe fn sessionDescription(self) -> NSString where
    Self::Target: Message + Sized

unsafe fn setSessionDescription_(self, sessionDescription: NSString) where
    Self::Target: Message + Sized

unsafe fn sessionWithConfiguration_(
    configuration: NSURLSessionConfiguration
) -> NSURLSession where
    Self::Target: Message + Sized

unsafe fn sessionWithConfiguration_delegate_delegateQueue_(
    configuration: NSURLSessionConfiguration,
    delegate: *mut u64,
    queue: NSOperationQueue
) -> NSURLSession where
    Self::Target: Message + Sized

unsafe fn new() -> instancetype where
    Self::Target: Message + Sized

unsafe fn sharedSession() -> NSURLSession where
    Self::Target: Message + Sized

Loading content...

Implementors

impl INSURLSession for NSURLSession[src]

Loading content...