Liking cljdoc? Tell your friends :D

io.pedestal.service.resources

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.
raw docstring

file-routesclj

(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.
sourceraw docstring

resource-routesclj

(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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close