addAllowedOrigin() addAllowedOrigin(string $allowedOrigin) Rule中增加一条allowedOrigin Parameters string $allowedOrigin
addAllowedMethod() addAllowedMethod(string $allowedMethod) Rule中增加一条allowedMethod Parameters string $allowedMethod
addAllowedHeader() addAllowedHeader(string $allowedHeader) Rule中增加一条allowedHeader Parameters string $allowedHeader
addExposeHeader() addExposeHeader(string $exposeHeader) Rule中增加一条exposeHeader Parameters string $exposeHeader
getAllowedHeaders() getAllowedHeaders() : array<mixed,string> 得到AllowedHeaders列表 Returns array<mixed,string>
getAllowedOrigins() getAllowedOrigins() : array<mixed,string> 得到AllowedOrigins列表 Returns array<mixed,string>
getAllowedMethods() getAllowedMethods() : array<mixed,string> 得到AllowedMethods列表 Returns array<mixed,string>
getExposeHeaders() getExposeHeaders() : array<mixed,string> 得到ExposeHeaders列表 Returns array<mixed,string>
appendToXml() appendToXml(\SimpleXMLElement $xmlRule) 根据提供的xmlRule, 把this按照一定的规则插入到$xmlRule中 Parameters \SimpleXMLElement $xmlRule Throws \OSS\Core\OssException