class

Mayu::RequestHandler

Inherits HTTP::Handler < Reference < Object

Constants

DEFAULT_PADDING = 6
DEMO_COUNTER = Counter.new("demo", 1234567890)
MAXIMUM_NAME_LENGTH = 64
MAXIMUM_PADDING = 12
REPOSITORY_URL = "https://github.com/Fuwn/mayu"
UNCACHED = "max-age=0, no-cache, no-store, must-revalidate"

Constructors

new(database : CounterDatabase, themes : ThemeCatalog, index_html : String)
Source

Instance methods

call(context : HTTP::Server::Context) : Nil
Source