Skip to main content
Module

x/cav/mod.ts>Resolve

A server framework for Deno
Go to Latest
interface Resolve
import { type Resolve } from "https://deno.land/x/cav@0.0.21/mod.ts";

After an Rpc matches with an incoming request, the Resolve function is responsible for resolving the request data into a response to send back to the client. The value returned from the Resolver will be packed with the top-level response() function, i.e. it undergoes packing via packBody().

Type Parameters

Resp
Groups extends AnyParser | null
Context extends AnyCtx | null
Query extends AnyParser | null
Message extends AnyParser | null
Upgrade extends boolean | null