aboutsummaryrefslogtreecommitdiff
path: root/src/guff/handler.cr
blob: 125e7e766ed83590121bbcd6197ff236de6cdc70 (plain)
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(@model : Model)
    end

    def call(context : HTTP::Server::Context)
      # do nothing by default
      call_next(context)
    end
  end
end