Skip to main content

ResponseExt

Trait ResponseExt 

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

Extension trait for http::Response objects

Provides methods to extract URI information from HTTP responses

Required Methods§

Source

fn uri(&self) -> Option<&Uri>

Returns a reference to the Uri associated with this response, if available.

Implementations on Foreign Types§

Source§

impl ResponseExt for Response<Body>

Source§

fn uri(&self) -> Option<&Uri>

Implementors§