다음을 통해 공유


SignalRData.CorsAllowedOrigins Property

Definition

Gets or sets the list of origins that should be allowed to make cross-origin calls (for example: http://example.com:12345). Use "*" to allow all. If omitted, allow all by default.

public System.Collections.Generic.IList<string> CorsAllowedOrigins { get; }
member this.CorsAllowedOrigins : System.Collections.Generic.IList<string>
Public ReadOnly Property CorsAllowedOrigins As IList(Of String)

Property Value

Applies to