OBSCORSRule Class Reference
Inherits from | OBSBaseEntity : OBSAbstractModel : OBSMTLModel |
---|---|
Conforms to | OBSMTLDictionaryItemOrderProtocol |
Declared in | OBSServiceCommonEntities.h OBSServiceCommonEntities.m |
ID
Rule ID
@property (nonatomic, strong, nonnull) NSString *ID
Declared In
OBSServiceCommonEntities.h
allowedMethodList
Request methods allowed by the CORS rules
@property (nonatomic, strong, nonnull) NSArray<NSString*> *allowedMethodList
Declared In
OBSServiceCommonEntities.h
allowedOriginList
Origins allowed by the CORS rules
@property (nonatomic, strong, nonnull) NSArray<NSString*> *allowedOriginList
Declared In
OBSServiceCommonEntities.h
allowedHeaderList
Headers that can be carried in CORS requests
@property (nonatomic, strong, nonnull) NSArray<NSString*> *allowedHeaderList
Declared In
OBSServiceCommonEntities.h
maxAgeSeconds
Cache time allowed by the CORS rules
@property (nonatomic, strong, nonnull) NSNumber *maxAgeSeconds
Declared In
OBSServiceCommonEntities.h
exposeHeaderList
Additional response headers allowed by the CORS rules
@property (nonatomic, strong, nonnull) NSArray<NSString*> *exposeHeaderList
Declared In
OBSServiceCommonEntities.h