diff options
author | Cory Benfield <lukasaoz@gmail.com> | 2014-06-15 10:03:41 +0100 |
---|---|---|
committer | Cory Benfield <lukasaoz@gmail.com> | 2014-06-16 14:42:54 +0100 |
commit | 62d1033bb4e772c82257276d8b9295a5a8cc2ed9 (patch) | |
tree | 1afdd18cfc3781397889342c39b63ea078c66abe /doc | |
parent | 06ddbf309a878ddd25934127d8ec8652538e5b47 (diff) | |
download | pyopenssl-git-62d1033bb4e772c82257276d8b9295a5a8cc2ed9.tar.gz |
Implement Connection.recv_into.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/ssl.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/api/ssl.rst b/doc/api/ssl.rst index a75af1f..b796e4a 100644 --- a/doc/api/ssl.rst +++ b/doc/api/ssl.rst @@ -614,6 +614,13 @@ Connection objects have the following methods: by *bufsize*. +.. py:method:: Connection.recv_into(buffer[, nbytes]) + + Receive data from the Connection and copy it directly into the provided + buffer. The return value is the number of bytes read from the connection. + The maximum amount of data to be received at once is specified by *nbytes*. + + .. py:method:: Connection.bio_write(bytes) If the Connection was created with a memory BIO, this method can be used to add |