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

Function http_request

core/station/impl/src/controllers/http.rs:10–14  ·  view source on GitHub ↗
(request: HttpRequest)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

routerMethod · 0.45

Tested by

no test coverage detected