WebSocketOptions.AllowedOrigins Vlastnost

Definice

Nastavte hodnoty hlaviček zdroje povolené pro požadavky protokolu WebSocket, aby se zabránilo napadení typu WebSocket mezi weby. Ve výchozím nastavení jsou povoleny všechny zdroje.

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)

Hodnota vlastnosti

IList<String>

Platí pro