Skip to main content
Version: Next

HTTP

Module Function​

new()​

Returns HTTP

Creates a new HTTP server. Handlers are registered on the returned object with .handle(), and .listen() then blocks serving them, so every handler has to be added first.

See HTTP for the server's own methods.

server = HTTP.new()

Properties​

NameValue