Skip to main content

run_http_authorized_with_lease_ttl

Function run_http_authorized_with_lease_ttl 

Source
pub async fn run_http_authorized_with_lease_ttl(
    engine: Arc<RpcEngine>,
    bind: &str,
    credentials: Vec<RuntimeHttpCredential>,
    lease_ttl_ms: u64,
) -> Result<SocketAddr>
Expand description

Test/embedder variant of run_http_authorized with an explicit controller lease duration.