洛阳学员端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

41 lines
748 B

//
// 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