API Reference > imodeljs-frontend > IModelConnection > IModelRoutingContext IModelRoutingContext Class Controls the RPC routing for an iModel connection. Methods Name Description route<T>(handler: () => T): T for(token: RpcRoutingToken): IModelRoutingContext Static Properties Name Type Description active Accessor ReadOnly boolean current Accessor StaticReadOnly undefined | IModelRoutingContext default StaticReadonly IModelRoutingContext token Readonly RpcRoutingToken Defined in core/frontend/src/IModelRoutingContext.ts Line 15 Last Updated: 12 June, 2024