Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mith/application.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/application.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