Function hyper::ffi::hyper_headers_foreach[][src]

#[no_mangle]
pub extern "C" fn hyper_headers_foreach(
    headers: *const hyper_headers,
    func: extern "C" fn(_: *mut c_void, _: *const u8, _: size_t, _: *const u8, _: size_t) -> c_int,
    userdata: *mut c_void
)
Expand description

Iterates the headers passing each name and value pair to the callback.

The userdata pointer is also passed to the callback.

The callback should return HYPER_ITER_CONTINUE to keep iterating, or HYPER_ITER_BREAK to stop.