Struct anterofit::net::intercept::Chain
[−]
[src]
pub struct Chain<I1, I2>(_, _);
Chains two interceptors together, invoking the first, then the second.
Trait Implementations
impl<I1: Interceptor, I2: Interceptor> Interceptor for Chain<I1, I2>
[src]
fn intercept(&self, req: &mut RequestHead)
Modify the request headers in any way desired. Read more
fn chain<I>(self, other: I) -> Chain<Self, I> where Self: Sized, I: Interceptor
Chain self
with other
, invoking self
then other
for each request.