Skip to main content

proxy_to_cocoon

Function proxy_to_cocoon 

Source
fn proxy_to_cocoon(method: &str, path: &str, body: &str) -> (u16, Value)
Expand description

Best-effort forward to the Cocoon DebugServer over loopback. Returns (status, json). If Cocoon is unreachable, returns 502.