A lightweight JSON RPC client & server
Home > async-call-rpc > Request
JSON-RPC Request object.
Signature:
export interface Request
| 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. |