MCPcopy Create free account
hub / github.com/dfinity/orbit / http_request

Function http_request

core/control-panel/impl/src/controllers/http.rs:16–20  ·  view source on GitHub ↗
(request: HttpRequest)

Source from the content-addressed store, hash-verified

14// Canister entrypoints for the controller.
15#[query(name = "http_request", decoding_quota = 10000)]
16async fn http_request(request: HttpRequest) -> HttpResponse {
17 let mut resp = CONTROLLER.router(request).await;
18 add_skip_certification_headers(&mut resp);
19 resp
20}
21
22// Controller initialization and implementation.
23lazy_static! {

Callers

nothing calls this directly

Calls 2

routerMethod · 0.45

Tested by

no test coverage detected