Expand description
The canister interface for canisters that implement HTTP requests.
Structs§
- ArgToken
- A marker type to match unconstrained callback arguments
- Callback
Strategy - A callback-token pair for a callback streaming strategy.
- Header
Field - A key-value pair for a HTTP header.
- Headers
- A wrapper around an iterator of headers
- Http
Request Canister - A canister that can serve a HTTP request.
- Http
Request Streaming Callback - A callback of type
shared query (Token) -> async StreamingCallbackHttpResponse - Http
Request Streaming Callback Any - A callback of any type, extremely permissive
- Http
Response - A HTTP response.
- Streaming
Callback Http Response - The next chunk of a streaming HTTP response.
- Token
- A token for continuing a callback streaming strategy. This type cannot be serialized despite implementing
CandidType
Enums§
- Streaming
Strategy - Possible strategies for a streaming response.