module Marten::Server
Overview
Wrapper around the Marten server.
Defined in:
marten/server.crmarten/server/context.cr
marten/server/handlers/concerns/handler_response_converter.cr
marten/server/handlers/error.cr
marten/server/handlers/logger.cr
marten/server/handlers/middleware.cr
marten/server/handlers/routing.cr
Class Method Summary
-
.addresses : Array(String)
Returns the addresses on which the server is listening.
-
.handlers
Returns the handlers of the server.
-
.instance : ::HTTP::Server
Returns the global HTTP server instance.
-
.setup : Nil
Setups the server (TCP binding).
-
.start : Nil
Starts the server.
-
.stop : Nil
Stops the server.