OBSOptionsObjectRequest Class Reference
| Inherits from | OBSBaseRequest : OBSAbstractModel : OBSMTLModel | 
|---|---|
| Conforms to | OBSOptionsObjectProtocol | 
| Declared in | OBSOptionsObjectModel.h OBSOptionsObjectModel.m  | 
Other Methods
– initWithBucketName:objectKey:origin:accessControlRequestMethod:
	Initialize a preflight request.
- (instancetype)initWithBucketName:(NSString *)bucketName objectKey:(NSString *)key origin:(NSString *)origin accessControlRequestMethod:(NSString *)methodParameters
bucketName | 
						Bucket name 
  | 
					
|---|---|
origin | 
						Origin of the crossorigin request  | 
					
method | 
						Allowed HTTP method  | 
					
Return Value
Preflight request to an object
Declared In
OBSOptionsObjectModel.h
Other Methods
  bucketName
	Bucket name
@property (nonatomic, strong, nonnull) NSString *bucketNameDeclared In
OBSOptionsObjectModel.h
  objectKey
	Object name
@property (nonatomic, strong, nonnull) NSString *objectKeyDeclared In
OBSOptionsObjectModel.h
  origin
	Origin of the cross-origin request
@property (nonatomic, strong, nonnull) NSString *originDeclared In
OBSOptionsObjectModel.h
  accessControlRequestHeadersList
	List of HTTP headers that can be carried in the actual request
@property (nonatomic, strong, nonnull) NSArray<NSString*> *accessControlRequestHeadersListDeclared In
OBSOptionsObjectModel.h
  accessControlRequestMethod
	HTTP method used in the actual request
@property (nonatomic, strong, nonnull) NSString *accessControlRequestMethodDeclared In
OBSOptionsObjectModel.h