tzapu / WiFiManager

ESP8266 WiFi Connection manager with web captive portal
http://tzapu.com/esp8266-wifi-connection-manager-library-arduino-ide/
MIT License
6.45k stars 1.94k forks source link

Allow subclassing #1698

Closed sinedied closed 5 months ago

sinedied commented 5 months ago

Allows to extend WiFiManger and parameter classes so you can customize it.

Making the internal variables/methods protected instead of private should not change any existing behavior.

tablatronix commented 5 months ago

Thanks, any ideas or thoughts for an example to include?

sinedied commented 5 months ago

Sure, my own use case could be a good example: reuse internal methods to build your own HTTP server, using either STA or AP mode (reusing mode of the startConfigPortal() method)

tablatronix commented 5 months ago