📄️ ErrorHandlerMiddleware
This middleware should always be the first one in the pipeline.
📄️ TrailingSlashMiddleware
In Borsch Framework, this route /user is different to this one /user/.
📄️ ApiKeyValidatorMiddleware
This middleware is here to demonstrate how you can implement a simple authentication middleware in Borsch Framework.
📄️ BodyParserMiddleware
This middleware is used to parse the incoming request body into an object or array that can be used letter in your
📄️ RouteMiddleware
This middleware match your route with the request.
📄️ ImplicitHeadMiddleware
This middleware adds implicit support for HEAD requests because the HTTP spec requires servers to support both GET
📄️ ImplicitOptionsMiddleware
This middleware adds implicit support for OPTIONS requests because the HTTP spec recommends servers should support
📄️ MethodNotAllowedMiddleware
When the path matches, but the HTTP method does not, your application should return a 405 Method Not Allowed status in
📄️ DispatchMiddleware
This middleware get the Route Result from the request attributes then returns the response generated by the Route Result
📄️ NotFoundMiddleware
When no path matches, your application should return a 404 Not Found status in response.