Поделиться через


WebSocketAcceptAdapter.AdaptWebSockets Метод

Определение

Адаптируйте веб-сокеты к OWIN.

public:
 static Func<System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^, System::Threading::Tasks::Task ^> ^ AdaptWebSockets(Func<System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^, System::Threading::Tasks::Task ^> ^ next);
public static Func<System.Collections.Generic.IDictionary<string,object>,System.Threading.Tasks.Task> AdaptWebSockets (Func<System.Collections.Generic.IDictionary<string,object>,System.Threading.Tasks.Task> next);
static member AdaptWebSockets : Func<System.Collections.Generic.IDictionary<string, obj>, System.Threading.Tasks.Task> -> Func<System.Collections.Generic.IDictionary<string, obj>, System.Threading.Tasks.Task>
Public Shared Function AdaptWebSockets (next As Func(Of IDictionary(Of String, Object), Task)) As Func(Of IDictionary(Of String, Object), Task)

Параметры

next
Func<IDictionary<String,Object>,Task>

Следующий делегат приложения OWIN.

Возвращаемое значение

Делегат приложения OWIN.

Применяется к