:middleware
and :route-middleware
options to module:module-middleware
key back to :middleware
:middleware
key to :module-middleware
:api
feature:handler
keys:site
defaults:muuntaja
key set by module:api
feature:duct.handler/static
into a separate handler library:duct.handler/file
:duct.handler/resource
:duct.middleware.web/hiccup
:routes
key:duct.handler/root
:duct.middleware/not-found
:duct.middleware/route-aliases
:duct.middleware/format
:duct.router/cascading
:duct.module/web
to use Reitit router:duct.module.web/site
and :duct.module.web/api
:features
key to :duct.module/web
with :api
and :site
options:duct.core/handler
with :duct.handler/root
duct.core/resource
to static handlersio/resource
with duct.core/resource
:duct.router/cascading
deriveduct/core
to 0.6.1duct/logger
to 0.2.1duct.handler.error
with duct.handler.static
:duct.module.web/api
:duct.module/web
for bare-bones web developmentwrap-not-found
to take handler argumentwrap-hide-errors
to take handler argumentduct.handler.error
namespaceduct/server.http.jetty
to support async Ring:duct.core.web/handler
key replaced by :duct.core/handler
:duct/router
key for routes:duct.router/cascading
keyduct.server.http.jetty
require (#1)Can you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |