[GH-ISSUE #22] public and private methods #21

Closed
opened 2026-02-28 01:22:54 +03:00 by kerem · 6 comments
Owner

Originally created by @domonetic on GitHub (Dec 16, 2015).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/22

I am reviewing the code to help with the wiki and find something I do not understand.
begin () is called by AutoConnect () but is declared public and I think it should be private.

Originally created by @domonetic on GitHub (Dec 16, 2015). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/22 I am reviewing the code to help with the wiki and find something I do not understand. begin () is called by AutoConnect () but is declared public and I think it should be private.
kerem closed this issue 2026-02-28 01:22:55 +03:00
Author
Owner

@tzapu commented on GitHub (Dec 17, 2015):

yes, you are correct again, leftovers from a past version.
it allwed me then to have an oled connected and do all the steps in the app rather than the library so i can display updates on the screen.
no longer possible, code cleanup is on the table, together with the new callabacks

so nice to see so many people taking interest, thanks

<!-- gh-comment-id:165363144 --> @tzapu commented on GitHub (Dec 17, 2015): yes, you are correct again, leftovers from a past version. it allwed me then to have an oled connected and do all the steps in the app rather than the library so i can display updates on the screen. no longer possible, code cleanup is on the table, together with the new callabacks so nice to see so many people taking interest, thanks
Author
Owner

@domonetic commented on GitHub (Dec 17, 2015):

These have no implementation. It is a virtual method? if I remove works just

String beginConfigMode(void);
void startWebConfig();
String beginConfigMode(void);
int serverLoop();

is used internally, it should not be publicly exposed
String urldecode(const char);*

<!-- gh-comment-id:165447777 --> @domonetic commented on GitHub (Dec 17, 2015): These have no implementation. It is a virtual method? if I remove works just **String beginConfigMode(void); void startWebConfig(); String beginConfigMode(void); int serverLoop();** is used internally, it should not be publicly exposed **String urldecode(const char*);**
Author
Owner

@tzapu commented on GitHub (Dec 17, 2015):

hi, did some cleanup as you indicated.]

urldecode i m gonna leave public, as an utilitarian function for others making url requests

<!-- gh-comment-id:165454073 --> @tzapu commented on GitHub (Dec 17, 2015): hi, did some cleanup as you indicated.] urldecode i m gonna leave public, as an utilitarian function for others making url requests
Author
Owner

@domonetic commented on GitHub (Dec 17, 2015):

Well, I'm helping with the wiki. I hope it will help.

<!-- gh-comment-id:165456231 --> @domonetic commented on GitHub (Dec 17, 2015): Well, I'm helping with the wiki. I hope it will help.
Author
Owner

@tzapu commented on GitHub (Dec 19, 2015):

thank you very much, just seen it, so nice to have

<!-- gh-comment-id:166017600 --> @tzapu commented on GitHub (Dec 19, 2015): thank you very much, just seen it, so nice to have
Author
Owner

@tzapu commented on GitHub (Mar 8, 2016):

there s so much changed, thining at some point the whole things needs another cleanup, then wiki remade
in the mean time, i ll close this

<!-- gh-comment-id:193619612 --> @tzapu commented on GitHub (Mar 8, 2016): there s so much changed, thining at some point the whole things needs another cleanup, then wiki remade in the mean time, i ll close this
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#21
No description provided.