Structsยง
- Extract
Version - This is a custom extractor for Axum that extracts the version, via the
X-Version
request header. If theX-Version
header is present, it returns it. If theX-Version
header is not present, it defaults tolatest
.
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
.