Files
youle_app_ios/Pods/Qiniu/QiniuSDK/Http/Request/QNUploadRegionInfo.h

31 lines
794 B
Objective-C

//
// QNUploadRegion.h
// QiniuSDK_Mac
//
// Created by yangsen on 2020/4/30.
// Copyright © 2020 Qiniu. All rights reserved.
//
#import "QNIUploadServer.h"
NS_ASSUME_NONNULL_BEGIN
@class QNZoneInfo, QNUploadRequestState, QNResponseInfo;
@protocol QNUploadRegion <NSObject>
@property(nonatomic, assign, readonly)BOOL isValid;
@property(nonatomic, strong, nullable, readonly)QNZoneInfo *zoneInfo;
- (void)setupRegionData:(QNZoneInfo * _Nullable)zoneInfo;
- (id<QNUploadServer> _Nullable)getNextServer:(QNUploadRequestState *)requestState
responseInfo:(QNResponseInfo *)responseInfo
freezeServer:(id <QNUploadServer> _Nullable)freezeServer;
- (void)updateIpListFormHost:(NSString *)host;
@end
NS_ASSUME_NONNULL_END