Router.add

Adds a route.

  1. void add(T routes)
  2. void add(RouteInfo!T info, void delegate(E) del)
    class Router
    void
    add
    (
    T
    E...
    )
    (,
    void delegate
    (
    E
    )
    del
    )
  3. void add(RouteInfo!T info, Resource resource)

Meta