OwinWebSocketAdapter(IDictionary<String,Object>, String) 构造函数

定义

初始化 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)

参数

websocketContext
IDictionary<String,Object>

WebSocket 上下文选项。

subProtocol
String

WebSocket 子协议。

适用于