[][src]Trait uikit_sys::NSURLSession_NSURLSessionAsynchronousConvenience

pub trait NSURLSession_NSURLSessionAsynchronousConvenience: Sized + Deref {
    unsafe fn dataTaskWithRequest_completionHandler_(
        self,
        request: NSURLRequest,
        completionHandler: _bindgen_ty_id_153505
    ) -> NSURLSessionDataTask
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn dataTaskWithURL_completionHandler_(
        self,
        url: NSURL,
        completionHandler: _bindgen_ty_id_153519
    ) -> NSURLSessionDataTask
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn uploadTaskWithRequest_fromFile_completionHandler_(
        self,
        request: NSURLRequest,
        fileURL: NSURL,
        completionHandler: _bindgen_ty_id_153535
    ) -> NSURLSessionUploadTask
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn uploadTaskWithRequest_fromData_completionHandler_(
        self,
        request: NSURLRequest,
        bodyData: NSData,
        completionHandler: _bindgen_ty_id_153551
    ) -> NSURLSessionUploadTask
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn downloadTaskWithRequest_completionHandler_(
        self,
        request: NSURLRequest,
        completionHandler: _bindgen_ty_id_153565
    ) -> NSURLSessionDownloadTask
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn downloadTaskWithURL_completionHandler_(
        self,
        url: NSURL,
        completionHandler: _bindgen_ty_id_153579
    ) -> NSURLSessionDownloadTask
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn downloadTaskWithResumeData_completionHandler_(
        self,
        resumeData: NSData,
        completionHandler: _bindgen_ty_id_153593
    ) -> NSURLSessionDownloadTask
    where
        Self::Target: Message + Sized
, { ... } }

Provided methods

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

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

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

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

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

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

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

Loading content...

Implementors

impl NSURLSession_NSURLSessionAsynchronousConvenience for NSURLSession[src]

Loading content...