12345678910111213141516171819202122232425 |
- //
- // QNDnsCacheFile.h
- // QnDNS
- //
- // Created by yangsen on 2020/3/26.
- // Copyright © 2020 com.qiniu. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- #import "QNRecorderDelegate.h"
- NS_ASSUME_NONNULL_BEGIN
- @interface QNDnsCacheFile : NSObject<QNRecorderDelegate>
- /// DNS解析信息本地缓存路径
- @property(nonatomic, copy, readonly)NSString *directory;
- /// 构造方法 路径不存在,或进行创建,创建失败返回为nil
- + (instancetype _Nullable)dnsCacheFile:(NSString *)directory
- error:(NSError **)perror;
- @end
- NS_ASSUME_NONNULL_END
|