Dynamic hook to render the response body when a request is rejected for size.
Must return either:
Rebind with binding (or alter-var-root) in your app to integrate with your
site-wide error pages.
Dynamic hook to render the response body when a request is rejected for size. Must return either: - a Ring response map, OR - a body (string / bytes / stream), in which case this middleware will wrap it into a Ring response. Rebind with `binding` (or `alter-var-root`) in your app to integrate with your site-wide error pages.
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 |