You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 19, 2026. It is now read-only.
The callback function, that for every request would be one of the first functions that would manipulate the request and response objects, what create the need of adapting these objects to be "extensible" (receive external variables and/or functions);
And, optionally, a string that would identify this specific middleware, if these can be implemented "globally", or you want to just use a specific middleware, for example;
In the next major version of Armor, a interesting feature could be implemented: the capability to create middlewares to the application.
The method that would be used to define these middlewares would be named
Application#middleware(). It would work like this:That is, this method could receive:
It's a feature to think about.