Function hyper::ffi::hyper_headers_set
source · #[no_mangle]
pub extern "C" fn hyper_headers_set(
headers: *mut hyper_headers,
name: *const u8,
name_len: size_t,
value: *const u8,
value_len: size_t
) -> hyper_code
Available on crate feature
ffi
and hyper_unstable_ffi
only.Expand description
Sets the header with the provided name to the provided value.
This overwrites any previous value set for the header.