Commit 792ff3e7 authored by Antoine Pitrou's avatar Antoine Pitrou

Mention that SSL sockets provide the basic socket API.

parent 035cedb4
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment