Resolves the proxy URL to use for a given target URL.
Resolution order:
settingsProxy
http.proxy
no_proxy
NO_PROXY
undefined
The URL for which to resolve a proxy.
Optional
An optional proxy URL from application settings.
The proxy URL to use, or undefined if no proxy should be used.
Resolves the proxy URL to use for a given target URL.
Resolution order:
settingsProxyis provided (e.g., from Theiahttp.proxypreference), use it.no_proxy/NO_PROXY— if bypass, returnundefined.undefinedif none found.