WiFiGateDevice
Library for projects using onboard WiFi. Requires WebSockets library. In case dependency would not be installed automatically, you need to add it manually from Arduino IDE:
1. Sketch -> Include Library -> Manage Libraries...
2. Type "websockets" in search field
3. Click "INSTALL" on "WebSockets by Markus Sattler" library
Some older versions of Arduino IDE/Board binaries may require explicit import of WiFi library. In case of errors, you may need to include specific WiFi library in your sketch:
ESP-32 or equivalent - Include WiFi.h
ESP-8266 or equivalent - Include ESP8266WiFi.h
If necessary, you can modify discoveryPort and discoveryKeyword fields of WiFiGateDevice object to reflect custom configuration of your Local Server