Struct iron::modifiers::Header [] [src]

pub struct Header<H: Header + HeaderFormat>(pub H);

A modifier for changing headers on requests and responses.

Trait Implementations

impl<H> Modifier<Response> for Header<H> where H: Header + HeaderFormat

fn modify(self, res: &mut Response)

impl<'a, 'b, H> Modifier<Request<'a, 'b>> for Header<H> where H: Header + HeaderFormat

fn modify(self, res: &mut Request)