namespace LexWells.Infrastructure.Common.Interfaces;
public interface IRobotsService
{
///
/// Checks if the User-Agent is allowed to access the specific path.
///
Task CanCrawlAsync(Uri uri, string userAgent = "LexWellsBot");
///
/// Gets the crawl delay specified by the host, or a default if none exists.
///
Task GetCrawlDelayAsync(Uri uri, string userAgent = "LexWellsBot");
}