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

x/mith_router/example/deps.ts>Mith#listen

Routing system for Mith framework
Latest
method Mith.prototype.listen
import { Mith } from "https://deno.land/x/mith_router@v0.5.0/example/deps.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