reth_rpc_api_testing_util::utils

Function parse_env_url

Source
pub fn parse_env_url(var: &str) -> Result<String, VarError>
Expand description

This will read the value of the given environment variable and parse it as a URL.

If the value has no http(s) scheme, it will be appended: http://{var}.