Skip to main content

versions

Function versions 

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

Middleware: refuses clients of another major version and adds the server’s version.