Files
youle_app_ios/Pods/Qiniu/QiniuSDK/Storage/ServerConfig/QNServerConfigSynchronizer.h

25 lines
585 B
Objective-C

//
// QNServerConfigSynchronizer.h
// QiniuSDK
//
// Created by yangsen on 2021/8/30.
// Copyright © 2021 Qiniu. All rights reserved.
//
#import "QNServerConfig.h"
#import "QNServerUserConfig.h"
NS_ASSUME_NONNULL_BEGIN
@interface QNServerConfigSynchronizer : NSObject
@property(class, nonatomic, strong)NSString *token;
@property(class, nonatomic, strong)NSArray <NSString *> *hosts;
+ (void)getServerConfigFromServer:(void(^)(QNServerConfig *config))complete;
+ (void)getServerUserConfigFromServer:(void(^)(QNServerUserConfig *config))complete;
@end
NS_ASSUME_NONNULL_END