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

Return value

- Bytes : Number of bytes read into the buffer successfully - 0 : Buffer length parameter is zero / connection closed by peer - HTTPD_SOCK_ERR_INVALID : Invalid arguments - HTTPD_SOCK_ERR_TIMEOUT : Timeout/interrupted while calling socket recv() - HTTPD_SOCK_ERR_FAIL : Unrecoverable error while calling socket recv()

Notes

- This API is supposed to be called only from the context of a URI handler where httpd_req_t* request pointer is valid. - If an error is returned, the URI handler must further return an error. This will ensure that the erroneous socket is closed and cleaned up by the web server. - Presently Chunked Encoding is not supported

References

from examples