How to use the @bentley/imodeljs-common.RpcManager.getClientForInterface function in @bentley/imodeljs-common

To help you get started, we’ve selected a few @bentley/imodeljs-common examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github imodeljs / imodeljs / integration-tests / rpc / src / common / TestRpcInterface.ts View on Github external
  public static getClient(): RpcTransportTest { return RpcManager.getClientForInterface(RpcTransportTest); }
  public async primitive(_value: string): Promise { return this.forward(arguments); }
github imodeljs / imodeljs / integration-tests / rpc / src / common / TestRpcInterface.ts View on Github external
public static getClient(): TestRpcInterface3 {
    return RpcManager.getClientForInterface(TestRpcInterface3);
  }
github imodeljs / imodeljs / integration-tests / rpc / src / common / TestRpcInterface.ts View on Github external
public static getClient(): TestRpcInterface {
    return RpcManager.getClientForInterface(TestRpcInterface);
  }
github imodeljs / imodeljs / integration-tests / core / src / common / RpcInterfaces.ts View on Github external
public static getClient(): TestRpcInterface {
    return RpcManager.getClientForInterface(TestRpcInterface);
  }
github imodeljs / imodeljs / integration-tests / rpc / src / common / TestRpcInterface.ts View on Github external
public static getClient(): ZeroMajorRpcInterface {
    return RpcManager.getClientForInterface(ZeroMajorRpcInterface);
  }
github imodeljs / imodeljs / test-apps / presentation-test-app / src / common / SampleRpcInterface.ts View on Github external
  public static getClient(): SampleRpcInterface { return RpcManager.getClientForInterface(SampleRpcInterface); }
github imodeljs / imodeljs / test-apps / display-performance-test-app / src / common / DisplayPerfRpcInterface.ts View on Github external
  public static getClient(): DisplayPerfRpcInterface { return RpcManager.getClientForInterface(DisplayPerfRpcInterface); }
github imodeljs / imodeljs / test-apps / perf-test-app / src / common / RpcInterfaces.ts View on Github external
public static getClient(): TestRpcInterface {
    return RpcManager.getClientForInterface(TestRpcInterface);
  }
github imodeljs / imodeljs / example-code / app / src / common / RobotWorldRpcInterface.ts View on Github external
  public static getClient() { return RpcManager.getClientForInterface(this); }
  public async countRobotsInArray(_iModelToken: IModelTokenProps, _elemIds: Id64String[]): Promise { return this.forward(arguments); }
github imodeljs / imodeljs / presentation / common / src / RpcRequestsHandler.ts View on Github external
  private get rpcClient(): PresentationRpcInterface { return RpcManager.getClientForInterface(PresentationRpcInterface); }