Callback to intercept headers during the first parse through of the response as it is received from the network. More...
#include <core_http_client.h>
Data Fields | |
void(* | onHeaderCallback )(void *pContext, const char *fieldLoc, size_t fieldLen, const char *valueLoc, size_t valueLen, uint16_t statusCode) |
Invoked when both a header field and its associated header value are found. More... | |
void * | pContext |
Private context for the application. | |
Callback to intercept headers during the first parse through of the response as it is received from the network.
void( * HTTPClient_ResponseHeaderParsingCallback_t::onHeaderCallback) (void *pContext, const char *fieldLoc, size_t fieldLen, const char *valueLoc, size_t valueLen, uint16_t statusCode) |
Invoked when both a header field and its associated header value are found.
[in] | pContext | User context. |
[in] | fieldLoc | Location of the header field name in the response buffer. |
[in] | fieldLen | Length in bytes of the field name. |
[in] | valueLoc | Location of the header value in the response buffer. |
[in] | valueLen | Length in bytes of the value. |
[in] | statusCode | The HTTP response status-code. |