PSR-15 and PSR-7
The Borsch Framework follows PSR's recommendations. Therefore:
- Routes must be handled by a PSR-15 Request Handler, taking a PSR-7 Server Request as unique parameter, and must return a PSR-7 Response.
- Middlewares must be handled by a PSR-15 Middleware, taking a PSR-7 Server Request and a PSR-15 Request Handler as parameters, and must return a PSR-7 Response.