Skip to content

interface IEnableCors

cangjie
public interface IEnableCors <: ICorsMetadata

功能:定义启用 CORS 所需的元数据。

父类型:

成员概览

成员功能
prop policyName返回当前元数据指定的 CORS 策略名称。

prop policyName

cangjie
prop policyName: ?String

功能:返回当前元数据指定的 CORS 策略名称。

类型:?String