import { type SocketInit } from "https://deno.land/x/cav@0.0.21/mod.ts";
Initializer options to use when upgrading a request into a web socket using
the upgradeWebSocket
function.
Type Parameters
optional
Message extends Parser | null = nullProperties
optional
message: MessageMessage parser, for parsing incoming messages. If this is ommitted, messages won't be parsed and will be typed as "unknown".
optional
serializers: Serializers | nullAdditional serializers to use when serializing and deserializing message data.