Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IRpcRequest

Interface for JSON-RPC 2.0 requests (https://www.jsonrpc.org/specification#request_object)

Hierarchy

  • IRpcRequest

Index

Properties

Properties

id

id: string | number | null

An identifier established by the client. If it is not included, it is assumed to be a notification.

jsonrpc

jsonrpc: string

A String specifying the version of the JSON-RPC protocol. MUST be exactly "2.0".

method

method: string

A String containing the name of the method to be invoked.

params

params: undefined | any[]

A structured value that holds the parameter values to be used during the invocation of the method.