OwinWebSocketAdapter(IDictionary<String,Object>, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.