import { default } from "https://deno.land/x/lume@v1.14.1/core/server.ts";
Constructors
new
default(options: Options)Methods
Add a listener to an event
dispatchEvent(event: ServerEvent)
Dispatch an event
start()
Start the server
stop()
Stops the server
use(...middleware: Middleware[])
Register one or more middlewares