Skip to main content
Module

x/cav/mod.ts>rpcInit

A server framework for Deno
Go to Latest
function rpcInit
import { rpcInit } from "https://deno.land/x/cav@0.0.8/mod.ts";

Constructs a new RpcInit. This simply returns the first argument, it's only provided for typing purposes so that you don't need to manually specify the type parameters.

Type Parameters

optional
Resp = unknown
optional
Groups extends GroupsParser | null = null
optional
Context extends Ctx<unknown> | null = null
optional
Query extends QueryParser | null = null
optional
Message extends Parser | null = null
optional
Upgrade extends boolean | null = null