import { upgrade } from "https://deno.land/x/http_server@v2.0.5/lib/utils/upgrade.ts";
Upgrade the request to a websocket connection.
Examples
upgrade(data);
upgrade(data);
Parameters
data: Data
- The request data to upgrade.
import { upgrade } from "https://deno.land/x/http_server@v2.0.5/lib/utils/upgrade.ts";
Upgrade the request to a websocket connection.
upgrade(data);