Share via


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

Definition

Initializes a new instance of 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)

Parameters

websocketContext
IDictionary<String,Object>

WebSocket context options.

subProtocol
String

The WebSocket subprotocol.

Applies to