HttpsDNSAuth.h
493 Bytes
//
// HttpsDNSAuth.h
// HHDoctorSDK
//
// Created by Shi Jian on 2018/8/9.
//
#import <UIKit/UIKit.h>
@interface HttpsDNSAuth : NSObject
//+ (void)sendRequest:(NSURLAuthenticationChallenge *)challenge request:(NSMutableURLRequest *)request;
+ (void)requestHost:(NSString *_Nullable)host didReceiveChallenge:(NSURLAuthenticationChallenge *_Nullable)challenge completionHandler:(void (^_Nonnull)(NSURLSessionAuthChallengeDisposition, NSURLCredential *_Nullable))completionHandler;
@end