import { type SetupArg } from "https://deno.land/x/cav@0.2.0-alpha.7/endpoint.ts";
Arguments available to the setup function of a socket endpoint.
Type Parameters
Param extends SocketSchema["param"]
Ctx extends SocketSchema["ctx"]
Query extends SocketSchema["query"]
Send extends SocketSchema["send"]
Recv extends SocketSchema["recv"]
Properties
ws: WS<Send, (SocketSchema["recv"] extends Recv ? unknown : ParserOutput<Recv>)>