Skip to main content

test_client_from

Function test_client_from 

Source
pub fn test_client_from(
    lookup: impl Fn(&str) -> Option<String>,
) -> Result<Option<HttpClient>, BaseOverrideError>
Expand description

test_client_from_env over an arbitrary variable lookup, for tests.

ยงErrors

As test_client_from_env.