rpc: JSON-RPC-over-HTTP control interface — native httpd + json + dispatch, core provider

This commit is contained in:
Jean Chevronnet 2026-08-09 15:54:05 +00:00
parent 9dce3bde92
commit 4b1f096ed8
7 changed files with 617 additions and 0 deletions

View file

@ -101,6 +101,9 @@ fn main() {
}
}
// optional JSON-RPC-over-HTTP control interface (see crate::modules::rpc)
echoircd::modules::rpc::maybe_start(&cfg, tx.clone());
// dial any autoconnect uplinks (after a short delay so the peer can boot)
for block in cfg.links.iter().filter(|b| b.autoconnect) {
let addr = format!("{}:{}", block.ip, block.port);