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