Struct tower_http::follow_redirect::RequestUri
source · [−]pub struct RequestUri(pub Uri);
This is supported on crate feature
follow-redirect
only.Expand description
Response Extensions
value that represents the effective request URI of
a response returned by a FollowRedirect
middleware.
The value differs from the original request’s effective URI if the middleware has followed redirections.
Tuple Fields
0: Uri
Auto Trait Implementations
impl RefUnwindSafe for RequestUri
impl Send for RequestUri
impl Sync for RequestUri
impl Unpin for RequestUri
impl UnwindSafe for RequestUri
Blanket Implementations
Mutably borrows from an owned value. Read more
This is supported on crate feature
follow-redirect
only.Create a new Policy
that returns Action::Follow
only if self
and other
return
Action::Follow
. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more