interface RouterRequest
implements Request
Re-export
import { type RouterRequest } from "https://deno.land/x/cav@0.2.3/mod.ts";
A server router handler can use this Request type to ferry type information to the client about what routes exist and what data they accept/return. The client uses the RouterShape to infer which property accesses are valid and what their response type will be.
Properties
optional
[_client]: { router: Shape; }