You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (!options.requestHeader || !options.library) return new CustomError("[Custom header] Please provide all arguments. See https://github.com/pauldb09/Dddos-Example/blob/main/constants/CustomHeader.js")
if (typeof(options.requestHeader) !== "object") return new CustomError("[Custom Header] the requestHeader option must be an object, use same params as request module")
if (!["got", "ddos-guard", "base"].includes(options.library)) return new CustomError("[Custom Header] the library provided is not valid! must be got, ddos-guard or base")