async-call-rpc

A lightweight JSON RPC client & server

Home > async-call-rpc > Request

Request interface

JSON-RPC Request object.

Signature:

export interface Request 

Properties

Property Modifiers Type Description
id? readonly ID (Optional)
jsonrpc readonly ‘2.0’  
method readonly string  
params readonly readonly unknown[] | object  
remoteStack? readonly string | undefined (Optional) Non-standard field. It records the caller’s stack of this Request.