OwinWebSocketAcceptAdapter.AdaptWebSockets Method

Definition

Adapt web sockets to 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)

Parameters

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

The next OWIN app delegate.

Returns

An OWIN app delegate.

Applies to