Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow subclassing #1698

Merged
merged 1 commit into from Jan 13, 2024
Merged

Allow subclassing #1698

merged 1 commit into from Jan 13, 2024

Conversation

sinedied
Copy link
Contributor

@sinedied sinedied commented Jan 7, 2024

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
Copy link
Collaborator

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

@sinedied
Copy link
Contributor Author

sinedied commented Jan 7, 2024

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 tablatronix merged commit 20535ed into tzapu:master Jan 13, 2024
@tablatronix tablatronix added enhancement Feature Request Documentation Flagged for docs labels Jan 13, 2024
@tablatronix
Copy link
Collaborator

  • add short example sketch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Flagged for docs enhancement Feature Request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants