Skip to main content
Module

x/cav/mod.ts>client

A server framework for Deno
Go to Latest
function client
import { client } from "https://deno.land/x/cav@0.2.0-alpha.7/mod.ts";

Creates a new Client function tied to a base URL, for triggering RPCs on a Cav server and deserializing the response. If the type parameter is a Cav Router or Endpoint, end-to-end type safety kicks in.

Type Parameters

optional
T extends Handler = never

Parameters

optional
base = [UNSUPPORTED]