httpd_recv_with_opt() is only used within ESP-IDF.
 
Symbols
loading...
Files
loading...
SummarySyntaxArgumentsRelatedReferences

Return value

- Length of data : if successful - ESP_FAIL : if failed

Notes

The exposed API httpd_recv() is simply this function with last parameter set as false. This function is used internally during reception and processing of a new request. The option to halt after receiving pending data prevents the server from requesting more data than is needed for completing a packet in case when all the remaining part of the packet is in the pending buffer.

References

from examples