[go: up one dir, main page]

ureq

Trait ResponseExt

Source
pub trait ResponseExt {
    // Required method
    fn get_uri(&self) -> &Uri;
}
Expand description

Extension trait for http::Response<Body> objects

Allows the user to access the Uri in http::Response

Required Methods§

Source

fn get_uri(&self) -> &Uri

The Uri we ended up at. This can differ from the request uri when we have followed redirects.

Implementations on Foreign Types§

Source§

impl ResponseExt for Response<Body>

Source§

fn get_uri(&self) -> &Uri

Implementors§