Called by the µC/HTTP-client core when body's data of the HTTP response is received.
The parameter HTTPc_PARAM_TYPE_RESP_BODY_HOOK
must be set up using the function HTTPc_ReqSetParam()
for the hook function to be called.
Prototype
Arguments
p_conn_obj
Pointer to the current HTTPc Connection Object.
p_req_obj
Pointer to the current HTTPc Request Object.
content_type
HTTP Content Type of the HTTP Response body's data.
p_data
Pointer to a data piece of the HTTP Response body.
p_data_len
Length of the data piece received.
last_chunk
DEF_YES
, if this is the last piece of data.
DEF_NO
, if more data is up coming.
Return Values
The number of bytes read during the callback.
Required Configuration
None.
Notes / Warnings
None.