Επεξεργασία

Κοινή χρήση μέσω


HttpContextBase.WebSocketRequestedProtocols Property

Definition

When implemented in a derived class, gets the ordered list of protocols that were requested by the client.

public:
 virtual property System::Collections::Generic::IList<System::String ^> ^ WebSocketRequestedProtocols { System::Collections::Generic::IList<System::String ^> ^ get(); };
public virtual System.Collections.Generic.IList<string> WebSocketRequestedProtocols { get; }
member this.WebSocketRequestedProtocols : System.Collections.Generic.IList<string>
Public Overridable ReadOnly Property WebSocketRequestedProtocols As IList(Of String)

Property Value

The requested protocols, or null if this is not an AspNetWebSocket request or if no list is present.

Applies to