tzapu / WiFiManager

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

Allow subclassing #1698

Closed sinedied closed 10 months ago

sinedied commented 10 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 10 months ago

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

sinedied commented 10 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 10 months ago