mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Mention that SSL sockets provide the basic socket API.
This commit is contained in:
parent
035cedb4a3
commit
792ff3e7be
1 changed files with 6 additions and 0 deletions
|
|
@ -325,6 +325,12 @@ Functions, Constants, and Exceptions
|
|||
SSL Sockets
|
||||
-----------
|
||||
|
||||
SSL sockets provide the basic interface of :ref:`socket-objects`. However,
|
||||
not all functionality is supported (for example, passing a non-zero ``flags``
|
||||
argument to :meth:`recv()` is not allowed).
|
||||
|
||||
SSL sockets also have the following additional methods and attributes:
|
||||
|
||||
.. method:: SSLSocket.read(nbytes=1024, buffer=None)
|
||||
|
||||
Reads up to ``nbytes`` bytes from the SSL-encrypted channel and returns them.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue