Files
waf-platform/HttpDNSSDK/sdk/ios/NewHttpDNS/Config/HttpdnsRegionConfigLoader.h
2026-03-05 02:44:43 +08:00

30 lines
603 B
Objective-C

//
// HttpdnsRegionConfigLoader.h
// NewHttpDNS
//
// 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