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 *IDDeclared In
OBSServiceCommonEntities.h
allowedMethodList
Request methods allowed by the CORS rules
@property (nonatomic, strong, nonnull) NSArray<NSString*> *allowedMethodListDeclared In
OBSServiceCommonEntities.h
allowedOriginList
Origins allowed by the CORS rules
@property (nonatomic, strong, nonnull) NSArray<NSString*> *allowedOriginListDeclared In
OBSServiceCommonEntities.h
allowedHeaderList
Headers that can be carried in CORS requests
@property (nonatomic, strong, nonnull) NSArray<NSString*> *allowedHeaderListDeclared In
OBSServiceCommonEntities.h
maxAgeSeconds
Cache time allowed by the CORS rules
@property (nonatomic, strong, nonnull) NSNumber *maxAgeSecondsDeclared In
OBSServiceCommonEntities.h
exposeHeaderList
Additional response headers allowed by the CORS rules
@property (nonatomic, strong, nonnull) NSArray<NSString*> *exposeHeaderListDeclared In
OBSServiceCommonEntities.h