dt-app
Version:
The Dynatrace App Toolkit is a tool you can use from your command line to create, develop, and deploy apps on your Dynatrace environment.
15 lines (14 loc) • 589 B
TypeScript
export declare const PROXY_URI_PARSING_ERROR = "Couldn't parse the provided DT_APP_PROXY_URI. Make sure it matches the following pattern: http{s}://{<username>:<password>@}<host>:<port>";
/**
* Sets a global proxy
* @param proxyUri The proxy uri following the pattern of PROXY_URI_PATTERN
*/
export declare function setProxy(proxyUri: string): void;
/**
* Extracts the username, the password and the uri out of the passed proxyUri
*/
export declare function extractProxyData(proxyUri: string): {
username: string | undefined;
password: string | undefined;
uri: string;
};