• Parses the environment variable for the web proxy and extracts the values considering defaults like http for the protocol and 80 or 443 for the port. The general pattern to be parsed is protocol://user:password@host:port, where everything besides the host is optional. Special characters in the user and password need to be percent encoded.

    Parameters

    • proxyEnvValue: string

      Environment variable which is parsed.

    Returns ProxyConfiguration | undefined

    Configuration with default values or undefined if the parsing failed.

    Copyright Ⓒ 2024 SAP SE or an SAP affiliate company. All rights reserved.