function upgradeimport { upgrade } from "https://deno.land/x/http_server@v2.0.5/mod.ts"; upgrade(data: Data): WebSocket | nullUpgrade the request to a websocket connection. Examplesupgrade(data); Parametersdata: Data The request data to upgrade. ReturnsWebSocket | nullA socket if the upgrade was successful, otherwise null.