interface RouterRequest
implements Request
import { type RouterRequest } from "https://deno.land/x/cav@0.0.20/client.ts";
A router handler on the server can use this Request type to ferry type information about valid routes to the client. The client uses the provided RouterShape to infer which property accesses are valid.
Type Parameters
optional
Shape extends RouterShape = Record<never, never>Properties
optional
__cav: { endpointRequest?: never; routerRequest: Shape; }