Skip to main content
Module

x/mith/mod.ts>Mith#listen

A middleware framework for Deno's http/s server.
Latest
method Mith.prototype.listen
import { Mith } from "https://deno.land/x/mith@v0.9.6/mod.ts";

Create an HTTP server with given options

const options = { hostname: "localhost", port: 8000, }

mith.listen(options)

Parameters

optional
options: string | HTTPOptions = [UNSUPPORTED]

Server configuration