Skip to main content

Module net_http

Module net_http 

Source
Available on crate features api-11 and api-20 only.
Expand description

C interface for the HTTP module of NetworkKit netstack.

Functions§

OH_Http_CreateHeaders
Creates headers for a request or response.
OH_Http_CreateRequest
Create a http request.
OH_Http_Destroy
Destroy the HTTP request.
OH_Http_DestroyHeaderEntries
Destroys all key-value pairs obtained in OH_Http_GetHeaderEntries.
OH_Http_DestroyHeaders
Destroys the headers of a request or response.
OH_Http_GetHeaderEntries
Obtains all the key-value pairs of a request or response header.
OH_Http_GetHeaderValue
Obtains the value of a request or response header by key.
OH_Http_Request
Initiates an HTTP request.
OH_Http_SetHeaderValue
Sets the key-value pair of the request or response header.