SignalRCorsSettings interface

Cross-Origin Resource Sharing (CORS) settings.

Properties

allowedOrigins

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.

Property Details

allowedOrigins

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.

allowedOrigins?: string[]

Property Value

string[]