阿里sdk

This commit is contained in:
Robin
2026-02-20 17:56:24 +08:00
parent 39524692e5
commit f3af234308
524 changed files with 58345 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
//
// HttpDnsLocker.h
// AlicloudHttpDNS
//
// Created by 王贇 on 2023/8/16.
// Copyright © 2023 alibaba-inc.com. All rights reserved.
//
#ifndef HttpDnsLocker_h
#define HttpDnsLocker_h
#import <Foundation/Foundation.h>
#import "HttpdnsRequest.h"
@interface HttpDnsLocker : NSObject
+ (instancetype)sharedInstance;
- (void)lock:(NSString *)host queryType:(HttpdnsQueryIPType)queryType;
- (BOOL)tryLock:(NSString *)host queryType:(HttpdnsQueryIPType)queryType;
- (void)unlock:(NSString *)host queryType:(HttpdnsQueryIPType)queryType;
@end
#endif /* HttpDnsLocker_h */