Skip to main content

OH_Http_DestroyHeaders

Function OH_Http_DestroyHeaders 

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

Destroys the headers of a request or response.

ยงArguments

  • headers - Pointer to the Http_Headers to be destroyed, headers ends with null.

Required System Capabilities: SystemCapability.Communication.NetStack

Available since API-level: 20