pub unsafe extern "C" fn OH_Http_GetHeaderEntries(
headers: *mut Http_Headers,
) -> *mut Http_HeaderEntryAvailable on crate features
api-11 and api-20 only.Expand description
Obtains all the key-value pairs of a request or response header.
§Arguments
headers- Pointer to [Http_Headersaders].
§Returns
- Http_HeaderEntry* Pointers to all obtained key-value pairs
Http_HeaderEntry.
Required System Capabilities: SystemCapability.Communication.NetStack
Available since API-level: 20