Function hyper::ffi::hyper_response_version
source · [−]#[no_mangle]
pub extern "C" fn hyper_response_version(
resp: *const hyper_response
) -> c_int
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).