WXL
2026-06-09 05c363fdd7ab04e3bd9a753e2c5d5bfff04d681c
1
2
3
4
5
6
7
/**
 * @param {boolean} isHTTPS true when need https module, otherwise false
 * @returns {Promise<import("http") | import("https")>}
 */
module.exports = function (isHTTPS) {
    return isHTTPS ? import("https") : import("http");
};