pub unsafe extern "C" fn aws_http_message_add_header_array(
message: *mut aws_http_message,
headers: *const aws_http_header,
num_headers: usize
) -> c_int
Expand description
Add an array of headers to the end of the header array. The message makes its own copy of the underlying strings.
This is a helper function useful when it’s easier to define headers as a stack array, rather than calling add_header repeatedly.