MCPcopy Create free account
hub / github.com/Vinyzu/Botright / set_route

Method set_route

tests/server.py:182–183  ·  view source on GitHub ↗
(self, path: str, callback: Callable[[TestServerRequest], Any])

Source from the content-addressed store, hash-verified

180 self.routes.clear()
181
182 def set_route(self, path: str, callback: Callable[[TestServerRequest], Any]) -> None:
183 self.routes[path] = callback
184
185 def enable_gzip(self, path: str) -> None:
186 self.gzip_routes.add(path)

Callers 1

set_redirectMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected