Module ic_cdk::api::management_canister::http_request
source · Expand description
Canister HTTP request.
Structs§
- Argument type of super::http_request.
- HTTP header.
- The returned HTTP response.
- Type used for encoding/decoding:
record { response : http_response; context : blob; }
- Type used for encoding/decoding:
record { function : func (record {response : http_response; context : blob}) -> (http_response) query; context : blob; }
- “transform” function of type:
func (http_response) -> (http_response) query
Enums§
- HTTP method.
Functions§
- Make an HTTP request to a given URL and return the HTTP response, possibly after a transformation.
- http_
request_ with_ closure transform-closure
Make an HTTP request to a given URL and return the HTTP response, after a transformation.