Skip to main content
Module

x/cav/client.ts>EndpointRequest

A server framework for Deno
Go to Latest
interface EndpointRequest
implements Request
import { type EndpointRequest } from "https://deno.land/x/cav@0.0.24/client.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
Message
Resp

Properties

optional
[_cav]: { endpointRequest: { query: Query; message: Message; resp: Resp; }; }