coreHTTP v3.1.1
HTTP/1.1 Client Library
 
Loading...
Searching...
No Matches
HTTPClient_ReceiveAndParseHttpResponse
HTTPResponse_t * pResponse,
const HTTPRequestHeaders_t * pRequestHeaders );
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 header data that will be sent in an HTTP request.
Definition: core_http_client.h:365
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]pTransportTransport interface, see TransportInterface_t for more information.
[in]pResponseThe response message and some notable response parameters will be returned here on success.
[in]pRequestHeadersRequest 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.