Module ic_utils::interfaces::http_request
source · Expand description
The canister interface for canisters that implement HTTP requests.
Structs§
- A marker type to match unconstrained callback arguments
- A callback-token pair for a callback streaming strategy.
- A key-value pair for a HTTP header.
- A wrapper around an iterator of headers
- A canister that can serve a HTTP request.
- A callback of type
shared query (Token) -> async StreamingCallbackHttpResponse
- A callback of any type, extremely permissive
- A HTTP response.
- The next chunk of a streaming HTTP response.
- A token for continuing a callback streaming strategy. This type cannot be serialized despite implementing
CandidType
Enums§
- Possible strategies for a streaming response.