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

WiFiServer modernization #1871

Merged
merged 2 commits into from
Dec 2, 2023

Conversation

JAndrassy
Copy link
Contributor

In new (this year's) WiFi libraries by Arduino in the Renesas Core they finally enhanced the WiFiServer API so now we know that the preferred method name to stop the server is end. They added begin with parameter port which goes with a constructor without parameter.
op bool for Server originates in the Ethernet library 2018 update.
And I recommend to mark method available() as deprecated. Users should be educated to use accept() as this is the correct name for that implementation.

Copy link
Owner

@earlephilhower earlephilhower left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks very much!

@earlephilhower earlephilhower merged commit a1902b5 into earlephilhower:master Dec 2, 2023
@JAndrassy JAndrassy deleted the wifiserver_modern branch December 2, 2023 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants