mirror of
https://github.com/zhigang1992/PINRemoteImage.git
synced 2026-03-28 22:45:33 +08:00
22 lines
644 B
Objective-C
22 lines
644 B
Objective-C
//
|
|
// PINDataTaskOperation.h
|
|
// Pods
|
|
//
|
|
// Created by Garrett Moon on 3/12/15.
|
|
//
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
#import "PINURLSessionManager.h"
|
|
|
|
@interface PINDataTaskOperation : NSOperation
|
|
|
|
@property (nonatomic, readonly, nullable) NSURLSessionDataTask *dataTask;
|
|
|
|
+ (nonnull instancetype)dataTaskOperationWithSessionManager:(nonnull PINURLSessionManager *)sessionManager
|
|
request:(nonnull NSURLRequest *)request
|
|
completionHandler:(nonnull void (^)(NSURLResponse * _Nonnull response, NSError * _Nullable error))completionHandler;
|
|
|
|
@end
|