Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/cav/client.ts>RouterRequest

A server framework for Deno
Go to Latest
interface RouterRequest
implements Request
import { type RouterRequest } from "https://deno.land/x/cav@0.2.0-alpha.7/client.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
[_router]: S