Skip to main content
Module

x/enzastdlib/rpc-http/serve.ts>serveHTTP

enzastdlib is a set of TypeScript modules that follow a common design API philosophy aiming at sane defaults and ease-of-use targeting the Deno TypeScript runtime.
Latest
function serveHTTP
import { serveHTTP } from "https://deno.land/x/enzastdlib@v0.0.4/rpc-http/serve.ts";

Creates a new HTTP server. It uses the new Deno.serve API when --unstable is passed to the Deno CLI. Otherwise the implementation from https://deno.land/std@0.192.0/http will be used instead.