Skip to main content

match_facade_route

Function match_facade_route 

Source
pub fn match_facade_route(method: HttpMethod, path: &str) -> FacadeRoute
Expand description

Match an HTTP method + path to a facade route.

ยงRoute Table

HTTPPathRPC Method
GET/eventsSSE stream
POST/custody/witnesswitness injection
GET/api/statuskernel.status
GET/api/processeskernel.ps
GET/api/serviceskernel.services
GET/api/chain/statuschain.status
GET/api/chain/eventskernel.logs
GET/api/vectors/statusecc.status
POST/api/vectors/searchecc.search
GET/api/ecc/calibrationecc.calibrate
GET/api/custody/attestcustody.attest
GET/api/fleet/snapshotfleet.snapshot
POST/api/agents/spawnagent.spawn
DELETE/api/agents/:pidagent.stop