pub fn get_http_rpc_host_with_resolver<R: IpResolver>(resolver: R) -> StringExpand description
Get the local IP address for HTTP RPC host binding, using IpResolver with fallback to 127.0.0.1
This function attempts to resolve the local IP address using the provided resolver. If resolution fails, it falls back to 127.0.0.1 (localhost).
§Arguments
resolver- An implementation of IpResolver trait for getting local IP addresses
§Returns
A string representation of the resolved IP address