File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -17,10 +17,9 @@ Functions
17
17
18
18
Takes a `stream ` *sock * (usually usocket.socket instance of ``SOCK_STREAM `` type),
19
19
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
24
23
:meth: `~usocket.socket.accept() ` on a non-SSL listening server socket.
25
24
26
25
Parameters:
You can’t perform that action at this time.
0 commit comments