Struct reqwest::redirect::Attempt [−][src]
pub struct Attempt<'a> { /* fields omitted */ }Expand description
A type that holds information on the next request and previous requests in redirect chain.
Implementations
impl<'a> Attempt<'a>[src]
impl<'a> Attempt<'a>[src]pub fn status(&self) -> StatusCode[src]
pub fn status(&self) -> StatusCode[src]Get the type of redirect.
pub fn previous(&self) -> &[Url][src]
pub fn previous(&self) -> &[Url][src]Get the list of previous URLs that have already been requested in this chain.