using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using PhilExampleCrawler.Common.Models; namespace PhilExampleCrawler.Core.Abstractions.Interfaces { public interface ICrawlingService_HAP { event EventHandler OnNewInsertionFound; void StartCrawling(CrawlSearchParams crawlSearchParams, int interval_s); void StopCrawling(); /// /// Could often throw a WebException.Timeout, as the request timeout is only 2 sec long (15.09.2022) /// void Crawl(CrawlSearchParams searchParams, int timeout_ms); } }