method WrappedRequest.prototype.upgradeimport { WrappedRequest } from "https://deno.land/x/opine@2.3.4/src/request.ts"; upgrade(): WebSocketUpgrades the HTTP connection to a WebSocket connection by internally calling Deno.upgradeWebSocket(req). Returns the created WebSocket. ReturnsWebSocketThe created WebSocket