interface RouterRequest
implements Request
import { type RouterRequest } from "https://deno.land/x/cav@0.2.0-alpha.7/examples/chat/deps_dom.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.
Type Parameters
S extends RouterShape
Properties
optional
[_router]: S