Expand description
Types related to the HTTP transport
for the Internet Computer. Primarily used through ic-agent.
Modules§
- signed
- Types representing signed messages.
Structs§
- Delegation
- A delegation from one key to another.
- Envelope
- The authentication envelope, containing the contents and their signature. This struct can be passed to
Agent’s*_signedmethods viaencode_bytes. - Invalid
Reject Code Error - Error returned from
RejectCode::try_from. - Node
Signature - A response signature from an individual node.
- Read
State Response - The response from a request to the
read_stateendpoint. - Reject
Response - An IC execution error received from the replica.
- Reply
Response - A successful reply to a canister call.
- Request
Id - A Request ID.
- Signed
Delegation - A
Delegationthat has been signed by anIdentity. - Subnet
Metrics - A list of subnet metrics.
Enums§
- Call
Response - The response from a request to the
callendpoint. - Envelope
Content - The content of an IC ingress message, not including any signature information.
- Query
Response - Possible responses to a query call.
- Reject
Code - See the interface spec.
- Request
IdError - An error during the calculation of the
RequestId. - Request
Status Response - The response of
/api/v3/canister/<effective_canister_id>/read_statewithrequest_statusrequest type. - Transport
Call Response - The parsed response from a request to the v3
callendpoint. A request to thecallendpoint.
Functions§
- to_
request_ id - Derive the request ID from a serializable data structure. This does not include the
ic-requestdomain prefix.