WebSocketMiddleware.Invoke(HttpContext) 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.
Processes a request to determine if it is a WebSocket request, and if so, sets the IHttpWebSocketFeature on the Features.
public:
 System::Threading::Tasks::Task ^ Invoke(Microsoft::AspNetCore::Http::HttpContext ^ context);public System.Threading.Tasks.Task Invoke(Microsoft.AspNetCore.Http.HttpContext context);member this.Invoke : Microsoft.AspNetCore.Http.HttpContext -> System.Threading.Tasks.TaskPublic Function Invoke (context As HttpContext) As TaskParameters
- context
- HttpContext
The HttpContext representing the request.
Returns
The Task that represents the completion of the middleware pipeline.