OBSCORSRule Class Reference Inherits from OBSBaseEntity : OBSAbstractModel : OBSMTLModel Conforms to OBSMTLDictionaryItemOrderProtocol Declared in OBSServiceCommonEntities.hOBSServiceCommonEntities.m Overview 跨域资源共享规则 ID 一条Rule的标识 @property (nonatomic, strong, nonnull) NSString *ID Declared In OBSServiceCommonEntities.h allowedMethodList CORS规则允许的请求方法 @property (nonatomic, strong, nonnull) NSArray<NSString*> *allowedMethodList Declared In OBSServiceCommonEntities.h allowedOriginList CORS规则允许的域名字符串 @property (nonatomic, strong, nonnull) NSArray<NSString*> *allowedOriginList Declared In OBSServiceCommonEntities.h allowedHeaderList CORS请求中允许携带的头域 @property (nonatomic, strong, nonnull) NSArray<NSString*> *allowedHeaderList Declared In OBSServiceCommonEntities.h maxAgeSeconds 可以缓存的CORS响应时间 @property (nonatomic, strong, nonnull) NSNumber *maxAgeSeconds Declared In OBSServiceCommonEntities.h exposeHeaderList CORS响应中带的附加头域 @property (nonatomic, strong, nonnull) NSArray<NSString*> *exposeHeaderList Declared In OBSServiceCommonEntities.h