Skip to main content
Module

x/cav/mod.ts>EndpointRequest

A server framework for Deno
Go to Latest
interface EndpointRequest
implements Request
Re-export
import { type EndpointRequest } from "https://deno.land/x/cav@0.2.0-alpha.4/mod.ts";

A server endpoint handler can use this Request type to ferry type information to the client about what argument types are acceptable and what the Response will deserialize into.

Type Parameters

Query
Body
Resp

Properties

optional
[_cav]: { endpointRequest: { query: Query; body: Body; resp: Resp; }; }