pub trait RobotsTxtClient {
type Result;
// Required method
fn fetch_robots_txt(&self, origin: Origin) -> Self::Result;
}
Expand description
Trait to fetch and parse the robots.txt file. Must be implemented on http-client.
pub trait RobotsTxtClient {
type Result;
// Required method
fn fetch_robots_txt(&self, origin: Origin) -> Self::Result;
}
Trait to fetch and parse the robots.txt file. Must be implemented on http-client.