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 (zmap) over PersistentHashMap
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 (zmap) over `PersistentHashMap` 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
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close