Module ic_agent::request_id
source · Expand description
This module deals with computing Request IDs based on the content of a message.
We compute the RequestId according to the public spec, which
specifies it as a “sha256” digest.
A single method is exported, to_request_id, which returns a RequestId (a 256 bits slice) or an error.
Re-exports
pub use error::RequestIdError;
Modules
- Error type for the RequestId calculation.
Structs
- A Request ID.
Functions
- Derive the request ID from a serializable data structure.