1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
require "http/server" module Guff class Handler < ::HTTP::Handler getter :model getter :config def initialize(@model : Model, @config : Config) end def call(context : HTTP::Server::Context) # do nothing by default call_next(context) end end end