esp-idf/examples/protocols/https_server/wss_server/main
yuanjm a1d5cfc260 example: Identify the callback whether is hanshake or frame-receive by req->method
Now the uri handler gets called immediately after the handshake. In the handler we can identify that this was the handshake by checking req->method as it is still a GET from the first part of the handshake the client has sent. On a normal websocket-frame-receive (when normally a websocket uriHandler gets called) this field is set to 0
Closes https://github.com/espressif/esp-idf/issues/6597
2021-03-09 07:32:15 +00:00
..
certs https_server example: Add new WSS server example 2020-09-09 08:00:38 +02:00
CMakeLists.txt https_server example: Add new WSS server example 2020-09-09 08:00:38 +02:00
component.mk https_server example: Add new WSS server example 2020-09-09 08:00:38 +02:00
keep_alive.c CI: enable example builds for C3 2021-02-09 12:04:02 +08:00
keep_alive.h https_server example: Add new WSS server example 2020-09-09 08:00:38 +02:00
wss_server_example.c example: Identify the callback whether is hanshake or frame-receive by req->method 2021-03-09 07:32:15 +00:00