Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This hook function gives the choice to set the pointer to the application data (with p_data argument) that the µC/HTTP-client stack will take care of transferring; or to directly copy the data in the HTTP transmit buffer (with p_buf argument).

Prototype

Code Block
           CPU_BOOLEAN  HTTPc_ReqBodyHook (HTTPc_CONN_OBJ   *p_conn_obj,
                                          HTTPc_REQ_OBJ    *p_req_obj,
                                          void            **p_data,
                                          CPU_CHAR         *p_buf,
                                          CPU_INT16U       *p_buf_len  
                                          CPU_INT16U       *p_data_len);

...