Skip to content

Commit 837268c

Browse files
committed
improve ussl docs again
1 parent 6ba0254 commit 837268c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docs/library/ussl.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,9 @@ Functions
1717

1818
Takes a `stream` *sock* (usually usocket.socket instance of ``SOCK_STREAM`` type),
1919
and returns an instance of ssl.SSLSocket, which wraps the underlying stream in
20-
an SSL context. Returned object has the usual `stream` interface methods like
21-
``read()``, ``write()``, etc. In MicroPython, the returned object does not expose
22-
socket interface and methods like ``recv()``, ``send()``. In particular, a
23-
server-side SSL socket should be created from a normal socket returned from
20+
an SSL context. The returned object has the usual `stream` interface methods like
21+
``read()``, ``write()``, as well as ``recv()`` and ``send()``.
22+
A server-side SSL socket should be created from a normal socket returned from
2423
:meth:`~usocket.socket.accept()` on a non-SSL listening server socket.
2524

2625
Parameters:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy