summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorCory Benfield <lukasaoz@gmail.com>2014-05-15 19:00:27 +0100
committerCory Benfield <lukasaoz@gmail.com>2014-05-15 19:00:27 +0100
commitcd010f60e56683a5f093979abbe7e57ac766c21f (patch)
tree2e3c204a71b7e99d94ce234aca587e93b7daf1a9 /doc/api
parentbe3e7b81e278cf0668c0f250a628926533969640 (diff)
downloadpyopenssl-cd010f60e56683a5f093979abbe7e57ac766c21f.tar.gz
Implement @alex's code review.
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/ssl.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/api/ssl.rst b/doc/api/ssl.rst
index fbee1fe..4b57ac5 100644
--- a/doc/api/ssl.rst
+++ b/doc/api/ssl.rst
@@ -835,7 +835,9 @@ Connection objects have the following methods:
.. py:method:: Connection.get_next_proto_negotiated():
- Get the protocol that was negotiated by Next Protocol Negotiation.
+ Get the protocol that was negotiated by Next Protocol Negotiation. Returns
+ a bytestring of the protocol name. If no protocol has been negotiated yet,
+ returns an empty string.
.. versionadded:: 0.15