1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-29 05:21:37 +03:00

Stream::Send fixes: doc + StreamConstPtr byte-by-byte + missing SSL availableForWrite (#7935)

* StreamConstPtr: fix doc + reading flash space byte-by-byte
* add missing availableForWrite wrapper in wificlient-ssl
* WiFiClientSecure-ctx: add missing availableForWrite()
This commit is contained in:
david gauchard
2021-03-25 16:00:41 +01:00
committed by GitHub
parent 0a4fcdf090
commit c1118dfce3
4 changed files with 30 additions and 4 deletions

View File

@ -441,7 +441,7 @@ Stream extensions
Two additional classes are provided.
- ``StreamPtr::`` is designed to hold a constant buffer (in ram or flash).
- ``StreamConstPtr::`` is designed to hold a constant buffer (in ram or flash).
With this class, a ``Stream::`` can be made from ``const char*``,
``F("some words in flash")`` or ``PROGMEM`` strings. This class makes
@ -451,7 +451,7 @@ Stream extensions
.. code:: cpp
StreamPtr css(F("my long css data")); // CSS data not copied to RAM
StreamConstPtr css(F("my long css data")); // CSS data not copied to RAM
server.sendAll(css);
- ``S2Stream::`` is designed to make a ``Stream::`` out of a ``String::`` without copy.