WebSocketUpgradeMiddleware
An alternative way to add a WebSocket upgrade to a router via Middleware
struct WebSocketUpgradeMiddleware<Context> where Context : WebSocketRequestContext
This is primarily designed to be used with HummingbirdRouter/RouterBuilder
but can be used with Router
if you add a route immediately after it.