coreHTTP v3.1.1
HTTP/1.1 Client Library
 
Loading...
Searching...
No Matches
HTTPClient_SendHttpData
const uint8_t * pData,
size_t dataLen );
HTTPStatus_t HTTPClient_SendHttpData(const TransportInterface_t *pTransport, HTTPClient_GetCurrentTimeFunc_t getTimestampMs, const uint8_t *pData, size_t dataLen)
Send the request body in pRequestBodyBuf over the transport.
Definition: core_http_client.c:1814
uint32_t(* HTTPClient_GetCurrentTimeFunc_t)(void)
Application provided function to query the current time in milliseconds.
Definition: core_http_client.h:463
HTTPStatus_t
The HTTP Client library return status.
Definition: core_http_client.h:196
The transport layer interface.
Definition: transport_interface.h:299

Send the request body in pRequestBodyBuf over the transport.

Parameters
[in]pTransportTransport interface, see TransportInterface_t for more information.
[in]getTimestampMsFunction to retrieve a timestamp in milliseconds.
[in]pDataHTTP request data to send.
[in]dataLenHTTP request data length.
Returns
HTTPSuccess if successful. If there was a network error or less bytes than what were specified were sent, then HTTPNetworkError is returned.