pub trait GetHtml {
// Required method
fn url(&self) -> Result<Url>;
// Provided method
fn get_html(
&self,
client: &Client,
cookies_path: &AbsPathBuf,
retry_limit: usize,
retry_interval: Duration,
cnsl: &mut Console,
) -> Result<(StatusCode, Html)> { ... }
}Required Methods§
Provided Methods§
Sourcefn get_html(
&self,
client: &Client,
cookies_path: &AbsPathBuf,
retry_limit: usize,
retry_interval: Duration,
cnsl: &mut Console,
) -> Result<(StatusCode, Html)>
fn get_html( &self, client: &Client, cookies_path: &AbsPathBuf, retry_limit: usize, retry_interval: Duration, cnsl: &mut Console, ) -> Result<(StatusCode, Html)>
Request html with http GET method.