Skip to main content

OH_Http_GetHeaderValue

Function OH_Http_GetHeaderValue 

Source
pub unsafe extern "C" fn OH_Http_GetHeaderValue(
    headers: *mut Http_Headers,
    name: *const c_char,
) -> *mut Http_HeaderValue
Available on crate features api-11 and api-20 only.
Expand description

Obtains the value of a request or response header by key.

§Arguments

§Returns

Required System Capabilities: SystemCapability.Communication.NetStack

Available since API-level: 20