MCPcopy Index your code
hub / github.com/ProgrammingRust/examples / add_route

Method add_route

basic-router/src/lib.rs:31–35  ·  view source on GitHub ↗

Add a route to the router.

(&mut self, url: &str, callback: C)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

test_routerFunction · 0.80

Calls 1

insertMethod · 0.80

Tested by 1

test_routerFunction · 0.64