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

Return value

- ESP_OK : On successful - ESP_FAIL : Socket errors occurs - ESP_ERR_INVALID_STATE : Handshake was already done beforehand - ESP_ERR_INVALID_ARG : Argument is invalid (null or non-WebSocket)

Notes

Calling httpd_ws_recv_frame() with max_len as 0 will give actual frame size in pkt->len. The user can dynamically allocate space for pkt->payload as per this length and call httpd_ws_recv_frame() again to get the actual data. Please refer to the corresponding example for usage.

References

from examples