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.
Parameters
on_request: Handler
options: ServeInit | ServeTlsInit