RpcInterface Class

An RPC interface is a set of operations exposed by a service that a client can call, using configurable protocols, in a platform-independent way. TheRpcInterface class is the base class for RPC interface definitions and implementations.

Extended by

Methods

Name Description
forward<T>(parameters: IArguments): Promise<T> Obtains the implementation result for an RPC operation.  
isVersionCompatible(backend: string, frontend: string): boolean Static Determines whether the backend version of an RPC interface is compatible (according to semantic versioning) with the frontend version of the interface.  

Properties

Name Type Description
configuration Readonly RpcConfiguration The configuration for the RPC interface.  

Defined in

Last Updated: 29 November, 2022