BBAAPIRequestOperation.h
592 Bytes
//
// BBAAPIRequestOperation.h
// BBAAPIRequest
//
// Created by Liu,Muye on 2018/11/28.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@class BBABaseAPIRequest;
/**
* @class BBAAPIRequestOperation
* @brief 网络门面的请求Operation基类, 未重写Operation任何方法
*/
@interface BBAAPIRequestOperation : NSOperation
/// MARK: for hotfix
+ (BOOL)useSessionTaskPriority;
@property (nonatomic, strong) BBABaseAPIRequest * apiRequest;
- (instancetype)initWithAPIRequest:(BBABaseAPIRequest*)apiRequest;
- (void)setTaskFinish;
@end
NS_ASSUME_NONNULL_END