Liking cljdoc? Tell your friends :D

macchiato.middleware.proxy-headers


forwarded-remote-addr-requestcljs

(forwarded-remote-addr-request request)

Change the :remote-addr key of the request map to the last value present in the X-Forwarded-For header. See: wrap-forwarded-remote-addr.

Change the :remote-addr key of the request map to the last value present in
the X-Forwarded-For header. See: wrap-forwarded-remote-addr.
sourceraw docstring

wrap-forwarded-remote-addrcljs

(wrap-forwarded-remote-addr handler)

Middleware that changes the :remote-addr of the request map to the last value present in the X-Forwarded-For header.

Middleware that changes the :remote-addr of the request map to the
last value present in the X-Forwarded-For header.
sourceraw docstring

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

× close