Compartilhar via


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

Definição

Inicializa uma nova instância 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)

Parâmetros

websocketContext
IDictionary<String,Object>

Opções de contexto do WebSocket.

subProtocol
String

O subprotocol WebSocket.

Aplica-se a