import { type SocketSchema } from "https://deno.land/x/cav@0.2.0-alpha.4/endpoint.ts";
Schema options for creating a socket()
handler.
Properties
optional
recv: Parser | nullIncoming message parser. Without this, received messages will be typed as
unknown
. When a message fails to parse, an error message will be sent
back to the client.