Skip to main content
Module

x/http_fns/hosting/deploy.ts>default

A bunch of functions for building HTTP servers
Go to Latest
function default
import { default } from "https://deno.land/x/http_fns@v0.0.27/hosting/deploy.ts";

Convenience function to generate Deno.serve init parameter for Deno Deploy.

Parameters

handler: (req: Request, info: Deno.ServeHandlerInfo) => Awaitable<Response | null>
...interceptors: Interceptors<unknown[], Response>[]