WebSocketAcceptAdapter.AdaptWebSockets Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.