Freigeben über


WebSocketAcceptAdapter.AdaptWebSockets Methode

Definition

Passen Sie Websockets an OWIN an.

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)

Parameter

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

Der nächste OWIN-App-Delegat.

Gibt zurück

Ein OWIN-App-Delegat.

Gilt für: