CustomRouterRule
The rule intercepts online route requests from Navigation Core Framework. Use createNavigationRouterRule to create an instance of the rule.
The local web server forwards requests from Navigation SDK to MapboxNavigationTestRouter and MapboxNavigationTestRouteRefresher provided by the SDK's user. When a user provided components returns a route or an error, the rule converts it to a response for Nav SDK.