Module tower_http::set_header[][src]

This is supported on crate feature set-header only.
Expand description

Middleware for setting headers on requests and responses.

See request and response for more details.

Modules

request

Set a header on the request.

response

Set a header on the response.

Structs

SetRequestHeader

Middleware that sets a header on the request.

SetRequestHeaderLayer

Layer that applies SetRequestHeader which adds a request header.

SetResponseHeader

Middleware that sets a header on the response.

SetResponseHeaderLayer

Layer that applies SetResponseHeader which adds a response header.

Traits

MakeHeaderValue

Trait for producing header values.