带阿里标识的版本
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
//
|
||||
// HttpdnsIpStackDetector.h
|
||||
// AlicloudHttpDNS
|
||||
// TrustHttpDNS
|
||||
//
|
||||
// Created by xuyecan on 2025/3/16.
|
||||
// Copyright © 2025 alibaba-inc.com. All rights reserved.
|
||||
// Copyright © 2025 trustapp.com. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
@@ -11,10 +11,10 @@
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
/**
|
||||
* IP 协议栈类型
|
||||
* IP 协议栈类<EFBFBD><EFBFBD>?
|
||||
*/
|
||||
typedef enum {
|
||||
kHttpdnsIpUnknown = 0, // 未知协议栈
|
||||
kHttpdnsIpUnknown = 0, // 未知协议<EFBFBD><EFBFBD>?
|
||||
kHttpdnsIpv4Only = 1, // IPv4-only
|
||||
kHttpdnsIpv6Only = 2, // IPv6-only
|
||||
kHttpdnsIpDual = 3 // 双栈
|
||||
@@ -23,13 +23,13 @@ typedef enum {
|
||||
@interface HttpdnsIpStackDetector : NSObject
|
||||
|
||||
/**
|
||||
* 返回HttpdnsIpStackDetector的共享实例
|
||||
* 返回HttpdnsIpStackDetector的共享实<EFBFBD><EFBFBD>?
|
||||
* @return HttpdnsIpStackDetector实例
|
||||
*/
|
||||
+ (instancetype)sharedInstance;
|
||||
|
||||
/**
|
||||
* 返回当前缓存的IP协议栈类型,不执行检测
|
||||
* 返回当前缓存的IP协议栈类型,不执行检<EFBFBD><EFBFBD>?
|
||||
* @return HttpdnsIPStackType
|
||||
*/
|
||||
- (HttpdnsIPStackType)currentIpStack;
|
||||
@@ -41,7 +41,7 @@ typedef enum {
|
||||
- (BOOL)isIpv6OnlyNetwork;
|
||||
|
||||
/**
|
||||
* 强制重新检测IP协议栈类型
|
||||
* 强制重新检测IP协议栈类<EFBFBD><EFBFBD>?
|
||||
*/
|
||||
- (void)redetectIpStack;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user