BBAAPIRequestInterface.h
710 Bytes
//
// BBAAPIRequestInterface.h
// BBAPods
//
// Created by mengxiangping on 16/12/16.
// Copyright © 2016年 Baidu. All rights reserved.
//
// TODO: 推动直接调用 BBAAPIRequestInterface 的业务方下掉,然后全量迁移至 BBAAPIRequestConfiguration
#import <Foundation/Foundation.h>
typedef NS_ENUM(NSInteger, NetEngineType) {
NetEngineTypeAFNetworking = 1
};
@interface BBAAPIRequestInterface : NSObject
+ (BBAAPIRequestInterface *)sharedInstance;
// 当前所使用的网络库类型
- (NSInteger) netEngineType;
// 启动后取一次
@property (nonatomic, copy) NSString * appDefaultUA;
// 修改NetEngine类型值
- (void)changeNetEngineType:(NSInteger)type;
@end