waneck / mweb

2 stars 3 forks source link

subdispatching #8

Open francescoagati opened 8 years ago

francescoagati commented 8 years ago

There is an example of sub dispatching routes? Like in Haxe web dispatcher?

waneck commented 8 years ago

You can subdispatch just like in Haxe web dispatcher. Any route can take an extra parameter with type DIspatcher. The dispatcher will recognize this and pass itself as a parameter for it.

There is no example yet