Skip to main content

start_proxy

Function start_proxy 

Source
pub async fn start_proxy(
    std_listener: TcpListener,
    proxy_port: u16,
    handle: PmHandle,
    proxy_state_rx: Receiver<ProxyState>,
    shutdown: Arc<Notify>,
) -> Result<()>
Expand description

Start the reverse proxy HTTP server using a pre-bound listener.