Back

resource-request (clj)

(source)

function

(resource-request request root-path) (resource-request request root-path options)
If request matches a static resource, returns it in a response map. Otherwise returns nil. See wrap-resource for the available options.

Examples