crow/io/net/http-server.crow (source)
http-server record
Reference to a running server.
http-handler alias
Type of a function that can respond to HTTP requests.
http-server-options record shared
portnat16handlersharedhttp-response(http-request)
http-server http-server-options(port nat16, handler shared http-response(http-request))
with-block[t] t(a http-server-options, cb mut t(http-server)) summon, t shared
sharedStarts running an HTTP server. Stops it when cb returns.