constants
- Description:
Constants used in the application.
- Source:
Members
(static, constant) exports.agent :https.Agent
- Description:
HTTPS Agent for making requests with legacy SSL support.
- Source:
HTTPS Agent for making requests with legacy SSL support.
Type:
- https.Agent
Examples
import { agent } from './utils/constants/constants';
export const agent: https.Agent = new https.Agent({
rejectUnauthorized: false,
secureOptions: constants.SSL_OP_LEGACY_SERVER_CONNECT, // Added for legacy SSL support
});