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] | pTransport | Transport interface, see TransportInterface_t for more information. |
[in] | getTimestampMs | Function to retrieve a timestamp in milliseconds. |
[in] | pData | HTTP request data to send. |
[in] | dataLen | HTTP 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.