URLRouter.rebuild

Rebuilds the internal matching structures to account for newly added routes.

This should be used after a lot of routes have been added to the router, to force eager computation of the match structures. The alternative is to let the router lazily compute the structures when the first request happens, which can delay this request.

class URLRouter
@safe
void
rebuild
()

Meta