WebSocketOptions.AllowedOrigins Proprietà

Definizione

Impostare i valori dell'intestazione Origin consentiti per le richieste WebSocket per impedire l'hijacket Cross-Site WebSocket. Per impostazione predefinita, tutte le origini sono consentite.

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)

Valore della proprietà

Si applica a