dia_router library

Middleware for Dia. Allows you to create separate middleware for specific urls and http methods

Classes

Router<T extends Routing>
Main router object for Dia Allows you to create separate middleware for specific urls and http methods Middleware in Router mast to be Context with mixin Routing
RouterMiddleware<T extends Routing>
Router Middleware for http request Add to Middleware information about http method and url path For internal use TODO may be private/protected ?

Mixins

Routing
Mixin to Context extends default Context additional fields specified for Router