aboutsummaryrefslogtreecommitdiff
path: root/src/guff/handler.cr
blob: e6655850ee0c5852902367b0a6c1968a71278662 (plain)
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