[−][src]Function vicuna::middleware::header
pub fn header<E: 'static, N, V>(
header_name: N,
header_value: V
) -> Middleware<E> where
N: IntoHeaderName + Copy + 'static,
V: Into<String> + Copy + 'static,
Adds the given header name and value to the response.