// // QNIUploadServer.h // QiniuSDK // // Created by yangsen on 2020/7/3. // Copyright © 2020 Qiniu. All rights reserved. // #import @protocol QNUploadServer @property(nonatomic, copy, nullable, readonly)NSString *httpVersion; @property(nonatomic, copy, nullable, readonly)NSString *serverId; @property(nonatomic, copy, nullable, readonly)NSString *ip; @property(nonatomic, copy, nullable, readonly)NSString *host; @property(nonatomic, copy, nullable, readonly)NSString *source; @property(nonatomic,strong, nullable, readonly)NSNumber *ipPrefetchedTime; @end #define kQNHttpVersion1 @"http_version_1" #define kQNHttpVersion2 @"http_version_2" #define kQNHttpVersion3 @"http_version_3" BOOL kQNIsHttp3(NSString * _Nullable httpVersion); BOOL kQNIsHttp2(NSString * _Nullable httpVersion);