import { webSocket } from "https://deno.land/x/cav@0.2.0-alpha.7/examples/chat/deps_dom.ts";
Wraps a WebSocket instance with added serialization functionality and E2E type support. If the input is a string, the wrapped WebSocket will be created with the given URL.