-
Notifications
You must be signed in to change notification settings - Fork 1
Server
Alex edited this page Jul 16, 2022
·
6 revisions
returns HTTPServer
static(href, path)
a promise that walks the file system, and recursively serves files under path
relative to local fs at href
on server
use(url, (req, res) => cb(req, res)
middleware handler for given url
start()
starts the server
stop()
stops the server