diff options
author | Cory Benfield <lukasaoz@gmail.com> | 2015-04-13 18:26:05 -0400 |
---|---|---|
committer | Cory Benfield <lukasaoz@gmail.com> | 2015-04-13 18:26:05 -0400 |
commit | e58a93a608d210806fb43196c57a9947ec1316bc (patch) | |
tree | cacc0f36d15f657ea923ae72fa2197f794d6c7b0 | |
parent | 307e9e6002bf3b316461fc7ce527d7d5260b692c (diff) | |
download | pyopenssl-e58a93a608d210806fb43196c57a9947ec1316bc.tar.gz |
Apparently I'm stylistically immature.
-rw-r--r-- | doc/api/ssl.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/ssl.rst b/doc/api/ssl.rst index 2d85126..2929305 100644 --- a/doc/api/ssl.rst +++ b/doc/api/ssl.rst @@ -501,7 +501,7 @@ Context objects have the following methods: .. py:method:: Context.set_alpn_protos(protos) Specify the protocols that the client is prepared to speak after the TLS - connection has been negotiated, using Application Layer Protocol + connection has been negotiated using Application Layer Protocol Negotiation. *protos* should be a list of protocols that the client is offering, each @@ -514,7 +514,7 @@ Context objects have the following methods: offers protocols using Application Layer Protocol Negotiation. *callback* should be the callback function. It will be invoked with two - arguments: the :py:class:`Connection`, and a list of offered protocols as + arguments: the :py:class:`Connection` and a list of offered protocols as bytestrings, e.g. ``[b'http/1.1', b'spdy/2']``. It should return one of these bytestrings, the chosen protocol. @@ -872,7 +872,7 @@ Connection objects have the following methods: .. py:method:: Connection.set_alpn_protos(protos) Specify the protocols that the client is prepared to speak after the TLS - connection has been negotiated, using Application Layer Protocol + connection has been negotiated using Application Layer Protocol Negotiation. *protos* should be a list of protocols that the client is offering, each |