MCPcopy Create free account
hub / github.com/attermann/microReticulum / on_link_established

Function on_link_established

test_interop/python_resource_receiver.py:70–74  ·  view source on GitHub ↗
(link)

Source from the content-addressed store, hash-verified

68
69
70def on_link_established(link):
71 print(f"[python] link established: {link.link_id.hex()}", flush=True)
72 link.set_resource_strategy(RNS.Link.ACCEPT_ALL)
73 link.set_resource_concluded_callback(on_resource_concluded)
74 state["link"] = link
75
76
77def write_config(config_dir: str, port: int) -> None:

Callers

nothing calls this directly

Calls 2

set_resource_strategyMethod · 0.80

Tested by

no test coverage detected