Condividi tramite


OwinWebSocketAcceptAdapter.AdaptWebSockets Metodo

Definizione

Adattare web socket a 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)

Parametri

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

Delegato successivo dell'app OWIN.

Restituisce

Delegato dell'app OWIN.

Si applica a