RPC_JSONRPC_REQUEST_ID

Constant RPC_JSONRPC_REQUEST_ID 

pub const RPC_JSONRPC_REQUEST_ID: &'static str;
Available on crate features opentelemetry and semconv_experimental only.
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.

§Notes

§Examples

  • "10"
  • "request-7"
  • ""