IHeaderDictionary.AccessControlAllowOrigin 属性

定义

获取或设置 Access-Control-Allow-Origin HTTP 标头。

public virtual Microsoft.Extensions.Primitives.StringValues AccessControlAllowOrigin { get; set; }
member this.AccessControlAllowOrigin : Microsoft.Extensions.Primitives.StringValues with get, set
Public Overridable Property AccessControlAllowOrigin As StringValues

属性值

适用于