TWebSocketMiddleware.ProcessRequest Method
Processes the request, upgrading it to a WebSocket connection when it is a valid WebSocket handshake from an allowed origin.
Syntax
Unit: Sparkle.Middleware.WebSocket
procedure TWebSocketMiddleware.ProcessRequest(Context: THttpServerContext; Next: THttpServerProc); override;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| Context | THttpServerContext | The context of the request being processed. | |
| Next | THttpServerProc | The next request handler in the middleware chain. |