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:
 property System::Collections::Generic::IList<System::String ^> ^ AllowedOrigins { System::Collections::Generic::IList<System::String ^> ^ get(); };
public System.Collections.Generic.IList<string> AllowedOrigins { get; }
member this.AllowedOrigins : System.Collections.Generic.IList<string>
Public ReadOnly Property AllowedOrigins As IList(Of String)

Property Value

Applies to