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

Add writeToPrint to ESP8266HTTPClient #8056

Merged
merged 3 commits into from
Sep 4, 2021
Merged

Conversation

TheNitek
Copy link
Contributor

Currently ESP8266HTTPClient only has writeToStream(Stream ), but interally only uses the Stream as a Print*. Since Print* is more lightweight, adding a writeToPrint(Print *) seems to make sense. E.g. this allows to use SdFile directly.
wirteToStream is kept for backward compatibility

Copy link
Collaborator

@d-a-v d-a-v left a comment

Choose a reason for hiding this comment

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

Thanks !

@d-a-v d-a-v added this to the 3.1 milestone Jul 11, 2021
@earlephilhower earlephilhower merged commit 140d0ff into esp8266:master Sep 4, 2021
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.

None yet

3 participants