• 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.

    Returns

    Configuration with default values or undefined if the parsing failed.

    Parameters

    • proxyEnvValue: string

      Environment variable which is parsed.

    Returns ProxyConfiguration | undefined

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