Function darkfi::rpc::server::run_accept_loop

source ยท
async fn run_accept_loop(
    listener: Box<dyn PtListener>,
    rh: Arc<impl RequestHandler + 'static>,
    conn_limit: Option<usize>,
    ex: Arc<Executor<'_>>,
) -> Result<()>
Expand description

Wrapper function around accept() to take the incoming connection and pass it forward.