Skip to main content

negotiate_api_version

Function negotiate_api_version 

Source
pub async fn negotiate_api_version(
    __arg0: State<VersionConfig>,
    request: Request,
    next: Next,
) -> Response
Expand description

Middleware: attach resolved ApiVersion as request extension; 406 when unsupported.