pub fn register(router: &mut Router, broker: Arc<PermissionBroker>)Expand description
Register session.permission.respond onto router.
Why: one call in crate::serve::build_router, closed over the daemon’s
single broker.
What: parses the params, maps the decision, and hands it to the broker. A
request id nobody waits on (already answered, or timed out) is -32602.
Test: register_wires_the_respond_method,
respond_rejects_an_unknown_request_id.