curl-rust
curl-rust copied to clipboard
how to enable http2 with cutl-rust
The http2 feature needs to be enabled in Cargo.toml (like curl = { version = "0.4.44", features = ["http2"] } and set the version in the code with http_version.