             [ring.middleware.resource :refer [wrap-resource]]
             [ring.util.response       :refer [response]]))
 
-(defn request-dumper
+(defn echo-request
   "Dump the request"
   [request]
   (response (with-out-str (pprint request))))


(defn -main
  [& {:as args}]
  (run request-dumper args)
  (run (create-servlet #'counter) :path "/counter"))


(def assets
  "Serve static assets from resources/public/"
  (wrap-resource #'echo-request "public"))

;;; The Ring Session example: https://github.com/ring-clojure/ring/wiki/Sessions
(defn counter [{session :session}]
