杨锴
2025-04-16 09a372bc45fde16fd42257ab6f78b8deeecf720b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//
//  OSSRequest.h
//  AliyunOSSSDK
//
//  Created by huaixu on 2018/1/22.
//  Copyright © 2018年 aliyun. All rights reserved.
//
 
#import <Foundation/Foundation.h>
#import "OSSConstants.h"
 
/**
 The base class of request to OSS.
 */
@interface OSSRequest : NSObject
/**
 Flag of requiring authentication. It's per each request.
 */
@property (nonatomic, assign) BOOL isAuthenticationRequired;
 
/**
 the flag of request canceled.
 */
@property (atomic, assign) BOOL isCancelled;
 
/**
 the flag of verification about crc64
 */
@property (nonatomic, assign) OSSRequestCRCFlag crcFlag;
 
/**
 Cancels the request
 */
- (void)cancel;
 
/**
 Gets the query parameters' dictionary according to the properties.
 */
- (NSDictionary *)requestParams;
 
@end