Creation of routes to expose file system or classpath resources as GET-able URIs.
This is an alternative to io.pedestal.http.ring-middlewares
that provide interceptors (which bypass routing); these functions
return [[RoutingFragment]]s that can be combined to as part of the application's routing table.
Creation of routes to expose file system or classpath resources as GET-able URIs. This is an alternative to [[io.pedestal.http.ring-middlewares]] that provide _interceptors_ (which bypass routing); these functions return [[RoutingFragment]]s that can be combined to as part of the application's routing table.
(file-routes opts)Returns a [[RoutingFragment]] of routes to access files on the file system.
Returns a [[RoutingFragment]] of routes to access files on the file system.
(resource-routes opts)Returns a [[RoutingFragment]] of routes to access files on the classpath.
Returns a [[RoutingFragment]] of routes to access files on the classpath.
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 |