Skip to content

Add plain char* signatures WebServer::sendContent #6341

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

Merged
merged 2 commits into from
Jul 25, 2019

Conversation

earlephilhower
Copy link
Collaborator

Fixes #2567

Allow the web server to send plain C strings instead of requring they be
encapsulated inside a String class object. Saves memory vs. having to
convert C strings to Strings (i.e. duplication of data), overloads on
the efficient sendContent_P(char*) methods.

earlephilhower and others added 2 commits July 24, 2019 14:52
Fixes esp8266#2567

Allow the web server to send plain C strings instead of requring they be
encapsulated inside a String class object.  Saves memory vs. having to
convert C strings to Strings (i.e. duplication of data), overloads on
the efficient sendContent_P(char*) methods.
@d-a-v d-a-v merged commit aa0bc33 into esp8266:master Jul 25, 2019
@earlephilhower earlephilhower deleted the webserversigs branch July 25, 2019 16:42
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.

New signatures to ESP8266WebServer::sendContent
3 participants