class

Rocket::Server

Inherits Reference < Object

The Server listen on Rocket::HOST and Rocket::PORT. Another port can optionally be passed to the start function.

Constants

MIDDLEWARE = [Rocket::ErrorHandler.new, Rocket::LogHandler.new, ROUTER]

Class methods

start(port = nil)
Source