Module ic_http_certification::http
source · Expand description
The HTTP module contains types for representing HTTP requests and responses in Rust. These types are Candid-encodable and are used by canisters that implement the HTTP interface required by the HTTP Gateway Protocol.
Structs§
- A Candid-encodable representation of an HTTP request. This struct is used by canisters that implement the HTTP interface required by the HTTP Gateway Protocol.
- A Candid-encodable representation of an HTTP response. This struct is used by canisters that implement the HTTP interface required by the HTTP Gateway Protocol.
Type Aliases§
- An HTTP header field, represented as a tuple of (name, value).