Open zhangbtciab opened 1 year ago
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.
http2
curl = { version = "0.4.44", features = ["http2"] }
http_version
The
http2
feature needs to be enabled in Cargo.toml (likecurl = { version = "0.4.44", features = ["http2"] }
and set the version in the code withhttp_version
.