pub fn is_http_version_supported(version: Version) -> bool
Expand description

Check if runtime support is available for the given HTTP version.

This only indicates whether support for communicating with this HTTP version is available, which is usually determined by which features were enabled during compilation, but can also be affected by what is available in system libraries when using dynamic linking.

This does not indicate which versions Isahc will attempt to use by default. To customize which versions to use within a particular client or request instance, see VersionNegotiation.