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 wraper around an iterator of headers
A canister that can serve a HTTP request.
A callback of type
shared query (Token) -> async StreamingCallbackHttpResponseA 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
CandidTypeEnums
Possible strategies for a streaming response.