import { default } from "https://deno.land/x/lume@v1.18.5/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