@iobroker/adapter-dev
Version:
All developer dependencies an ioBroker adapter developer needs
8 lines (7 loc) • 340 B
TypeScript
import type { AxiosRequestConfig } from "axios";
/**
* Adds https proxy options to an axios request if they were defined as an env variable
* @param options The option object passed to axios
*/
export declare function applyHttpsProxy(options: AxiosRequestConfig): AxiosRequestConfig;
export declare function getRequestTimeout(): number;