Skip to main content

bind_orcarouter_callback

Function bind_orcarouter_callback 

Source
pub fn bind_orcarouter_callback() -> Result<Vec<TcpListener>>
Expand description

Bind the OrcaRouter loopback callback: always 127.0.0.1, ephemeral port.

OrcaRouter validates http://127.0.0.1:<port> (and localhost/[::1]) per request, and a registered loopback callback matches any port, so a fresh port per attempt is correct rather than a conflict.