Crate version_middleware

Source

Structsยง

ExtractVersion
This is a custom extractor for Axum that extracts the version, via the X-Version request header. If the X-Version header is present, it returns it. If the X-Version header is not present, it defaults to latest.