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

Return value

- ESP_OK : When handshake is successful - ESP_ERR_NOT_FOUND : When some headers (Sec-WebSocket-*) are not found - ESP_ERR_INVALID_VERSION : The WebSocket version is not "13" - ESP_ERR_INVALID_STATE : Handshake was done beforehand - ESP_ERR_INVALID_ARG : Argument is invalid (null or non-WebSocket) - ESP_FAIL : Socket failures

References

from examples