MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / router

Function router

modules/module-test/src/lib.rs:562–564  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

560
561#[spacetimedb::http::router]
562fn router() -> Router {
563 Router::new().get("/get", get_simple)
564}
565
566#[spacetimedb::settings]
567const CASE_CONVERSION_POLICY: CaseConversionPolicy = CaseConversionPolicy::SnakeCase;

Callers

nothing calls this directly

Calls 2

newFunction · 0.50
getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…