downloadTaskWithRequest_completionHandler_ method

NSURLSessionDownloadTask downloadTaskWithRequest_completionHandler_(
  1. NSURLRequest request,
  2. ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError completionHandler
)

Implementation

NSURLSessionDownloadTask downloadTaskWithRequest_completionHandler_(
    NSURLRequest request,
    ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError completionHandler) {
  final _ret = _lib._objc_msgSend_1079(
      _id,
      _lib._sel_downloadTaskWithRequest_completionHandler_1,
      request._id,
      completionHandler._id);
  return NSURLSessionDownloadTask._(_ret, _lib, retain: true, release: true);
}