Common Lisp Package: CLACK.MIDDLEWARE.CONDITIONAL

# Clack.Middleware.Conditional - Conditional wrapper for Clack middleware. ## SYNOPSIS (builder (:condition (lambda (env) (scan "WebKit" (getf env :http-user-agent))) :builder '<clack-middleware-something>) app) (builder (<clack-middleware-conditional> :condition (lambda (env) (scan "WebKit" (getf env :http-user-agent))) :builder '(<clack-middleware-static> :path "/public/" :root #p"/static-files/")) app) (wrap (make-instance '<clack-middleware-conditional> :condition (lambda (env) (scan "WebKit" (getf env :http-user-agent))) :builder '(<clack-middleware-something> :path "/public/" :root #p"/static-files/")) app) ## AUTHOR * Eitarow Fukamachi (e.arrows@gmail.com)

README:

CLASS

Public

Undocumented

<CLACK-MIDDLEWARE-CONDITIONAL>