ActionController::Server
Constants
reuse port is only useful for broadcast or multicast applications on windows when used with TCP it is considered a security risk as the port can be stolen
Constructors
create an instance of the application
create an instance of the application with tls
Class methods
handlers to run after your application code, see: handlers
these will only be run if the route is not found in your application
handlers to run before your application code, see: handlers
configure these in your config.cr file
returns a list of the routes defined in the application
responds with [{"ControllerClass", :name, :verb, "/route"}]
Instance methods
Launches additional worker processes removing the short and long arguments that trigger this method
Provides access the HTTP server for the purpose of binding
For example server.socket.bind_unix "/tmp/my-socket.sock"