Skip to main content

CALL_ID

Constant CALL_ID 

Source
pub const CALL_ID: &str = "r1";
Expand description

The call-id embedded in every single-method JMAP request produced by this crate. Pass directly to jmap_base_client::extract_response.

External callers need this constant when indexing into SetResponse-shaped created / notCreated / updated maps returned by methods that use a per-call client id. For example, after blob_convert callers look up the converted blob via response.created.as_ref().and_then(|m| m.get(jmap_chat_client::methods::CALL_ID)).