Ring request implementation.
Ring request implementation.
(build-request e)
Returns ring request map for given server exchange.
Does not contain deprecated keys.
The :headers
is a persistent map proxy interface over Undertow header map.
Header names are case-insensitive. The proxy is converted to Clojure map on
updates.
The request map itself is a lazy map with some values delayed.
The :session
key is provided when session data is not empty. No additional
middleware is required for sessions, but only proper configuration of the
Undertow server.
The :body
is only provided in incomplete request with not consumed input
stream.
Returns [ring request map][1] for given server exchange. - Does not contain deprecated keys. - The `:headers` is a persistent map proxy interface over Undertow header map. Header names are case-insensitive. The proxy is converted to Clojure map on updates. - The request map itself is a [lazy map][2] with some values delayed. - The `:session` key is provided when session data is not empty. No additional middleware is required for sessions, but only proper configuration of the Undertow server. - The `:body` is only provided in incomplete request with not consumed input stream. [1]: https://github.com/ring-clojure/ring/wiki/Concepts#requests [2]: https://github.com/strojure/zmap
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close