Skip to content

Commit 0a47f34

Browse files
docs migration guide: WiFiServer changes (#9458)
Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
1 parent d805b88 commit 0a47f34

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/en/migration_guides/2.x_to_3.0.rst

+2
Original file line numberDiff line numberDiff line change
@@ -205,3 +205,5 @@ Functional changes
205205
******************
206206

207207
* In Arduino (and other frameworks) the method named ``flush()`` is intended to send out the transmit buffer content. ``WiFiClient`` and ``WiFiUDP`` method ``flush()`` won't clear the receive buffer anymore. A new method called ``clear()`` is now used for that. Currently ``flush()`` does nothing in ``WiFiClient``, ``WiFiClientSecure`` and ``WiFiUDP``.
208+
* ``WiFiServer`` has functions ``accept()`` and ``available()`` with the same functionality. In Arduino, ``available()`` should work differently so it is now deprecated.
209+
* ``WiFiServer`` had unimplemented write functions inherited from ``Print`` class. These are now removed. Also unimplemented method ``stopAll()`` is removed. The methods were unimplemented because WiFiServer doesn't manage connected WiFiClient objects for print-to-all-clients functionality.

0 commit comments

Comments
 (0)