Share via


WebSocketOptions.AllowedOrigins Property

Definition

Set the Origin header values allowed for WebSocket requests to prevent Cross-Site WebSocket Hijacking. By default all Origins are allowed.

public System.Collections.Generic.IList<string> AllowedOrigins { get; }

Property Value

Applies to