pub fn register(router: &mut Router, registry: Arc<SessionRegistry>)Expand description
Register every session.* method onto router, all sharing registry.
Why: the one place that lists the full session.* surface — mirrors
crate::serve::methods::register’s role for the proof-of-life methods.
What: clones registry once per method (cheap — Arc) into a small
adapter closure that forwards to the corresponding free function below.
Test: protocol::tests::register_wires_every_session_method.