RacHttpDefaultHeadersNative typedef

RacHttpDefaultHeadersNative = Int32 Function(Pointer<Pointer<RacHttpHeaderKv>>, Pointer<Size>)

Matches rac_result_t rac_http_default_headers(const rac_http_header_kv_t** out_kvs, size_t* out_count).

The returned array is statically allocated inside commons — DO NOT free.

Implementation

typedef RacHttpDefaultHeadersNative =
    ffi.Int32 Function(
      ffi.Pointer<ffi.Pointer<RacHttpHeaderKv>>,
      ffi.Pointer<ffi.Size>,
    );