Sdílet prostřednictvím


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

Definice

Inicializuje novou instanci .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)

Parametry

websocketContext
IDictionary<String,Object>

Možnosti kontextu protokolu WebSocket.

subProtocol
String

Podprotokol WebSocket.

Platí pro