dataTaskWithURL_completionHandler_ method

NSURLSessionDataTask dataTaskWithURL_completionHandler_(
  1. NSURL url,
  2. ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError completionHandler
)

Implementation

NSURLSessionDataTask dataTaskWithURL_completionHandler_(NSURL url,
    ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError completionHandler) {
  final _ret = _lib._objc_msgSend_1076(
      _id,
      _lib._sel_dataTaskWithURL_completionHandler_1,
      url._id,
      completionHandler._id);
  return NSURLSessionDataTask._(_ret, _lib, retain: true, release: true);
}