Module middleware

Source
Available on crate feature client only.
Expand description

Middleware types returned from ConfigExt methods.

Structsยง

AuthLayer
Layer to set up Authorization header depending on the config.
BaseUri
Middleware that sets base URI so that all requests are relative to it.
BaseUriLayer
Layer that applies BaseUri which makes all requests relative to the URI.
ExtraHeaders
Service that adds a static set of extra headers to each request
ExtraHeadersLayer
Layer that adds a static set of extra headers to each request