Authenticate the WebSocket connection as a specific user
Send the upgrade request and return a live WebSocket connection
Add custom headers to the upgrade request
Set the locale for this WebSocket connection. If strategy is not provided, resolves from the module's I18n configuration.
Optionalstrategy: DetectionStrategy
TestWsRequest
Builder for WebSocket upgrade requests. Follows the TestHttpRequest pattern.
Example
Example: Authenticated WebSocket