WebSocket example project for the Espressif ESP32
Download and install the ESP IDF framework from https://github.com/espressif/esp-idf. The WebSocket project works the same way as the other example projects. The ESP32_WS.html file can be used to test the server.
More Infos here: http://www.barth-dev.de/websockets-on-the-esp32/