Middleware in Ringλ︎
Middleware in ring is a way to modify the incoming requests or outgoing responses.
Middleware can also wrap handlers or other middleware, affecting their behaviour. For example the wrap-reload
middleware enables live reloading by detecting file changes and reloading affected functions into their namespace, before the request is passed to the relevant handler function
Middleware in ring/ring-core
- wrap-cookies (ring.middleware.cookies)
- wrap-file (ring.middleware.file)
- wrap-file-info (ring.middleware.file-info)
- wrap-flash (ring.middleware.flash)
- wrap-keyword-params (ring.middleware.keyword-params)
- wrap-multipart-params (ring.middleware.multipart-params
- wrap-nested-params (ring.middleware.nested-params
- wrap-params (ring.middleware.params)
- wrap-session (ring.middleware.session)
Middleware in ring/ring-devel
- wrap-lint (ring.middleware.lint)
- wrap-reload (ring.middleware.reload)
- wrap-stacktrace (ring.middleware.stacktrace)