You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
518 B
37 lines
518 B
4 years ago
|
//
|
||
|
// 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
|