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 is a website building & hosting documentation for Clojure/Script libraries
× close