ESP-IDF + 0/3 examples
SourceVu will show references to httpd_resp_send_chunk() from the following samples and libraries:
 
Symbols
loading...
Files
loading...
SummarySyntaxArgumentsRelatedReferences

Return value

- ESP_OK : On successfully sending the response packet chunk - ESP_ERR_INVALID_ARG : Null request pointer - ESP_ERR_HTTPD_RESP_HDR : Essential headers are too large for internal buffer - ESP_ERR_HTTPD_RESP_SEND : Error in raw send - ESP_ERR_HTTPD_INVALID_REQ : Invalid request pointer

Notes

- This API is supposed to be called only from the context of a URI handler where httpd_req_t* request pointer is valid. - When you are finished sending all your chunks, you must call this function with buf_len as 0. - Once this API is called, all request headers are purged, so request headers need be copied into separate buffers if they are required later.

References

from examples