esp-idf/examples/protocols/http_server
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
..
advanced_tests style: format python files with isort and double-quote-string-fixer 2021-01-26 10:49:01 +08:00
file_serving CI: enable example builds for C3 2021-02-09 12:04:02 +08:00
persistent_sockets style: format python files with isort and double-quote-string-fixer 2021-01-26 10:49:01 +08:00
restful_server Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
simple Explain how to fix 'httpd_parse: header too long' 2021-03-04 04:08:47 +00:00
ws_echo_server example: Identify the callback whether is hanshake or frame-receive by req->method 2021-03-09 07:32:15 +00:00