#[no_mangle]
pub extern "C" fn hyper_response_version(
resp: *const hyper_response,
) -> c_int
Available on crate feature
ffi
and hyper_unstable_ffi
only.Expand description
Get the HTTP version used by this response.
The returned value could be:
HYPER_HTTP_VERSION_1_0
HYPER_HTTP_VERSION_1_1
HYPER_HTTP_VERSION_2
HYPER_HTTP_VERSION_NONE
if newer (or older).