Available on crate feature
client
only.Expand description
Middleware types returned from ConfigExt
methods.
Structsยง
- Auth
Layer - Layer to set up
Authorization
header depending on the config. - BaseUri
- Middleware that sets base URI so that all requests are relative to it.
- Base
UriLayer - Layer that applies
BaseUri
which makes all requests relative to the URI. - Extra
Headers - Service that adds a static set of extra headers to each request
- Extra
Headers Layer - Layer that adds a static set of extra headers to each request