curl-rust icon indicating copy to clipboard operation
curl-rust copied to clipboard

how to enable http2 with cutl-rust

Open zhangbtciab opened this issue 3 years ago • 1 comments

zhangbtciab avatar Nov 14 '22 06:11 zhangbtciab

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.

ehuss avatar Nov 15 '22 00:11 ehuss