import { serve } from "https://deno.land/x/cav@0.0.14/mod.ts";
Shorthand function for quickly serving a Handler. This function is a one-liner:
return await server({ ...opt, handler }).listenAndServe();
Parameters
optional
opt: ServeOptimport { serve } from "https://deno.land/x/cav@0.0.14/mod.ts";
Shorthand function for quickly serving a Handler. This function is a one-liner:
return await server({ ...opt, handler }).listenAndServe();