Partager via


OwinWebSocketAdapter(IDictionary<String,Object>, String) Constructeur

Définition

Initialise une nouvelle instance de OwinWebSocketAdapter.

public:
 OwinWebSocketAdapter(System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ websocketContext, System::String ^ subProtocol);
public OwinWebSocketAdapter (System.Collections.Generic.IDictionary<string,object> websocketContext, string subProtocol);
new Microsoft.AspNetCore.Owin.OwinWebSocketAdapter : System.Collections.Generic.IDictionary<string, obj> * string -> Microsoft.AspNetCore.Owin.OwinWebSocketAdapter
Public Sub New (websocketContext As IDictionary(Of String, Object), subProtocol As String)

Paramètres

websocketContext
IDictionary<String,Object>

Options de contexte WebSocket.

subProtocol
String

Sous-protocole WebSocket.

S’applique à