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
port
nat16
handler
shared
http-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
shared
Starts running an HTTP server. Stops it when cb
returns.