Ring-Accept-language provides a middleware that parses the Accept-language request header and injects the value into the request hash.
Add a middleware after adding dependencies.
(defn some-middleware
[handler]
(wrap-accept-language handler))
Can you improve this documentation? These fine people already did:
katsuyasu-murata & James ReevesEdit 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 |