Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RPC

Hierarchy

  • RPC

Indexable

[method: string]: RPCHandler | RPCSyncHandler

Index

Constructors

Methods

Constructors

constructor

  • new RPC(uri: string, options?: undefined | object): RPC
  • To preserve compatibility, we still provide the default constructor but it cannot tell if you are calling the sync method batch, or other async methods. You will need to distinguish between them yourself.

    Parameters

    • uri: string
    • Optional options: undefined | object

    Returns RPC

Methods

Static create

  • Parameters

    • uri: string

    Returns RPCMethods & RPCProxy

Generated using TypeDoc