mount method

void mount(
  1. String prefix,
  2. Handler handler
)

Mount a handler below a prefix.

In this case prefix may not contain any parameters.

Can obtain a Middleware via use for this route.

Implementation

void mount(String prefix, Handler handler) {
  shelfRouter.mount(prefix, handler);
}