page Middleware { seo { title = "Middleware" description = "Order and short-circuit request middleware." canonical = "https://wrnexusjs.dev/guides/middleware" } view {
W WRNexusJS
Browse documentation
Preview guide · 0.2.17

Middleware

Middleware receives context and next. Return next() to continue or return a Response to stop. Put request limits and trust-boundary controls before business logic.

Release scope

This guide describes installed 0.2.17 capabilities. Follow linked package declarations for exact signatures; undocumented behavior is not guaranteed.

Browse package APIs · Troubleshooting · Support

} }