sdk final
This commit is contained in:
@@ -1,10 +1,14 @@
|
||||
//
|
||||
// DemoHttpdnsScenario.h
|
||||
// NewHttpDNSTestDemo
|
||||
// TrustHttpDNSTestDemo
|
||||
//
|
||||
// @author Created by Claude Code on 2025-10-23
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import "DemoResolveModel.h"
|
||||
#import "HttpdnsEdgeService.h"
|
||||
#import "HttpdnsPublicConstant.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@@ -13,7 +17,12 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
@interface DemoHttpdnsScenarioConfig : NSObject <NSCopying>
|
||||
|
||||
@property (nonatomic, copy) NSString *host;
|
||||
@property (nonatomic, copy) NSString *queryType; // @"A", @"AAAA", @"both"
|
||||
@property (nonatomic, assign) HttpdnsQueryIPType ipType;
|
||||
|
||||
// HttpdnsEdgeService unsupported features removed:
|
||||
// @property (nonatomic, assign) BOOL httpsEnabled;
|
||||
// @property (nonatomic, assign) BOOL persistentCacheEnabled;
|
||||
// @property (nonatomic, assign) BOOL reuseExpiredIPEnabled;
|
||||
|
||||
- (instancetype)init;
|
||||
|
||||
@@ -34,10 +43,9 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
- (instancetype)initWithDelegate:(id<DemoHttpdnsScenarioDelegate>)delegate;
|
||||
- (void)applyConfig:(DemoHttpdnsScenarioConfig *)config;
|
||||
- (void)resolve;
|
||||
- (void)resolveSyncNonBlocking;
|
||||
- (void)resolveSync;
|
||||
- (NSString *)logSnapshot;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
|
||||
|
||||
Reference in New Issue
Block a user