Files
waf-platform/HttpDNSSDK/sdk/ios/NewHttpDNS/Config/HttpdnsRegionConfigLoader.h

30 lines
605 B
Objective-C

//
// HttpdnsRegionConfigLoader.h
// TrustHttpDNS
//
// Created by xuyecan on 2024/6/16.
// Copyright © 2024 trustapp.com. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface HttpdnsRegionConfigLoader : NSObject
+ (instancetype)sharedInstance;
+ (NSArray<NSString *> *)getAvailableRegionList;
- (NSArray *)getSeriveV4HostList:(NSString *)region;
- (NSArray *)getUpdateV4FallbackHostList:(NSString *)region;
- (NSArray *)getSeriveV6HostList:(NSString *)region;
- (NSArray *)getUpdateV6FallbackHostList:(NSString *)region;
@end
NS_ASSUME_NONNULL_END