HTTPStatus_t HTTPClient_ReceiveAndParseHttpResponse(const TransportInterface_t *pTransport, HTTPResponse_t *pResponse, const HTTPRequestHeaders_t *pRequestHeaders)
Receive the HTTP response from the network and parse it.
Definition: core_http_client.c:2032
HTTPStatus_t
The HTTP Client library return status.
Definition: core_http_client.h:196
Represents an HTTP response.
Definition: core_http_client.h:470
The transport layer interface.
Definition: transport_interface.h:299
Receive the HTTP response from the network and parse it.
- Parameters
-
[in] | pTransport | Transport interface, see TransportInterface_t for more information. |
[in] | pResponse | The response message and some notable response parameters will be returned here on success. |
[in] | pRequestHeaders | Request configuration containing the buffer of headers to send. |
- Returns
- Returns HTTPSuccess if successful. HTTPNetworkError for a transport receive error. Please see parseHttpResponse and getFinalResponseStatus for other statuses returned.