import { rpc } from "https://deno.land/x/cav@0.0.8/mod.ts";
Creates an Rpc handler that either resolves a Request into a Response or throws an error if something breaks or if the Rpc isn't supposed to respond to given request (it'll throw an HttpError with a 404 status code).
Type Parameters
optional
Groups extends GroupsParser | null = nulloptional
Context extends Ctx<unknown> | null = nulloptional
Query extends QueryParser | null = nulloptional
Message extends Parser | null = null