WebSocketOptions.AllowedOrigins Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)