• (template req)

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source ring/handler/dump.clj:20 top

(defhtml template
  (doctype :xhtml-transitional)
  [:html {:xmlns "http://www.w3.org/1999/xhtml"}
      [:meta {:http-equiv "Content-Type" :content "text/html"}]
      [:title "Ring: Request Dump"]]
      [:style {:type "text/css"} css]
        [:h3.info "Ring Request Values"]
            (for [key ring-keys]
              (req-pair key req))]]
        (if-let [user-keys (set/difference (set (keys req)) (set ring-keys))]
               [:tbody [:tr
                 (for [key (sort user-keys)]
                   (req-pair key req))]]]))]]])
Vars in ring.handler.dump/template:
Used in 0 other vars

Comments top

No comments for template. Log in to add a comment.