解决了语音上传到问题,接下来要解决下载播放问题
This commit is contained in:
30
Pods/Qiniu/QiniuSDK/Http/Request/QNRequestClient.h
generated
Normal file
30
Pods/Qiniu/QiniuSDK/Http/Request/QNRequestClient.h
generated
Normal file
@@ -0,0 +1,30 @@
|
||||
//
|
||||
// QNRequestClient.h
|
||||
// QiniuSDK
|
||||
//
|
||||
// Created by yangsen on 2020/4/29.
|
||||
// Copyright © 2020 Qiniu. All rights reserved.
|
||||
//
|
||||
|
||||
#import "QNUploadRequestMetrics.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
typedef void (^QNRequestClientCompleteHandler)(NSURLResponse * _Nullable, QNUploadSingleRequestMetrics * _Nullable, NSData * _Nullable, NSError * _Nullable);
|
||||
|
||||
@protocol QNRequestClient <NSObject>
|
||||
|
||||
// client 标识
|
||||
@property(nonatomic, copy, readonly)NSString *clientId;
|
||||
|
||||
- (void)request:(NSURLRequest *)request
|
||||
server:(_Nullable id <QNUploadServer>)server
|
||||
connectionProxy:(NSDictionary * _Nullable)connectionProxy
|
||||
progress:(void(^ _Nullable)(long long totalBytesWritten, long long totalBytesExpectedToWrite))progress
|
||||
complete:(_Nullable QNRequestClientCompleteHandler)complete;
|
||||
|
||||
- (void)cancel;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
Reference in New Issue
Block a user