logo
pub const RPC_JSONRPC_REQUEST_ID: Key;
Expand description

id property of request or response. Since protocol allows id to be int, string, null or missing (for notifications), value is expected to be cast to string for simplicity. Use empty string in case of null value. Omit entirely if this is a notification.

Examples

  • 10
  • request-7
  • ``