37 lines
518 B
Objective-C
37 lines
518 B
Objective-C
//
|
|
// TFURLProtocol.h
|
|
// WXReader
|
|
//
|
|
// Created by 谢腾飞 on 2020/12/3.
|
|
// Copyright © 2020 xtfei_2011@126.com. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface TFURLProtocol : NSURLProtocol
|
|
|
|
@property (nonatomic ,assign ,readonly) BOOL isSwizzle;
|
|
|
|
+ (instancetype)sharedInstance;
|
|
|
|
/// 开始监听
|
|
+ (void)startMonitor;
|
|
|
|
/// 停止监听
|
|
+ (void)stopMonitor;
|
|
|
|
@end
|
|
|
|
|
|
|
|
|
|
@interface TFSessionConfig : NSObject
|
|
|
|
+ (void)swizzleSelector;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|