internal ChallengeSolver(HttpClient client, CloudflareHandler handler, Uri siteUrl, DetectResult detectResult) { HttpClient = client; CloudflareHandler = handler; SiteUrl = siteUrl; DetectResult = detectResult; }
internal JsChallengeSolver(CloudflareHandler handler, Uri siteUrl, DetectResult detectResult, string userAgent, [Optional] int?clearanceDelay) : base(handler, siteUrl, detectResult, userAgent) { if (clearanceDelay.HasValue) { ClearanceDelay = clearanceDelay.Value; } }
internal JsChallengeSolver(CloudflareHandler handler, Uri siteUrl, DetectResult detectResult, [Optional] int clearanceDelay) : base(handler, siteUrl, detectResult) { if (clearanceDelay != default(int)) { ClearanceDelay = clearanceDelay; } }
internal CaptchaChallengeSolver(CloudflareHandler handler, Uri siteUrl, DetectResult detectResult, string userAgent, CaptchaService captchaProvider) : base(handler, siteUrl, detectResult, userAgent) { this.captchaProvider = captchaProvider; }
internal ChallengeSolver(CloudflareHandler handler, Uri siteUrl, DetectResult detectResult, string userAgent) : this(new HttpClient(handler), handler, siteUrl, detectResult, userAgent) { }
internal CaptchaChallengeSolver(HttpClient client, CloudflareHandler handler, Uri siteUrl, DetectResult detectResult, string userAgent, ICaptchaProvider captchaProvider) : base(client, handler, siteUrl, detectResult, userAgent) { this.captchaProvider = captchaProvider; }
internal CaptchaChallengeSolver(CloudflareHandler handler, Uri siteUrl, DetectResult detectResult, ICaptchaProvider captchaProvider) : base(handler, siteUrl, detectResult) { this.captchaProvider = captchaProvider; }