Files
youle_app_ios/Pods/Qiniu/QiniuSDK/Http/ServerRegion/QNUploadServer.h

30 lines
796 B
Objective-C
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
//
// QNUploadServer.h
// AppTest
//
// Created by yangsen on 2020/4/23.
// Copyright © 2020 com.qiniu. All rights reserved.
//
#import "QNUploadRegionInfo.h"
NS_ASSUME_NONNULL_BEGIN
@interface QNUploadServer : NSObject <QNUploadServer>
@property(nonatomic, copy)NSString *httpVersion;
/// 上传server构造方法
/// @param host host
/// @param ip host对应的IP
/// @param source ip查询来源@"system"@"httpdns" @"none" @"customized" 自定义请使用@"customized"
/// @param ipPrefetchedTime 根据host获取IP的时间戳
+ (instancetype)server:(NSString * _Nullable)host
ip:(NSString * _Nullable)ip
source:(NSString * _Nullable)source
ipPrefetchedTime:(NSNumber * _Nullable)ipPrefetchedTime;
@end
NS_ASSUME_NONNULL_END