import { default } from "https://deno.land/x/http_fns@v0.0.27/hosting/localhost.ts";
Convenience function to generate Deno.serve init parameter for localhost dev mode.
Parameters
handler: (req: Request, info: Deno.ServeHandlerInfo) => Awaitable<Response | null>
...interceptors: Interceptors<unknown[], Response>[]
Returns
Promise<Deno.ServeInit & (Deno.ServeOptions | Deno.ServeTlsOptions)>