Function hyper::ffi::hyper_response_headers
source · #[no_mangle]
pub extern "C" fn hyper_response_headers(
resp: *mut hyper_response
) -> *mut hyper_headers
Available on crate feature
ffi
and hyper_unstable_ffi
only.Expand description
Gets a reference to the HTTP headers of this response.
This is not an owned reference, so it should not be accessed after the
hyper_response
has been freed.