import { type CtxArg } from "https://deno.land/x/cav@0.0.8/mod.ts";
Arguments available to the Ctx function of an Rpc.
Properties
cookie: Cookie
The cookie constructed after the Rpc path matched the request. For socket Rpcs, the cookies can only be altered inside the Ctx function. Alterations inside the other event handlers won't be synced with the client because the Response object was already sent.