Skip to content
This repository was archived by the owner on Jan 13, 2021. It is now read-only.

Commit a34e413

Browse files
committed
Add force_proto param documentation on HTTPConnection
1 parent ee9acdd commit a34e413

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: hyper/common/connection.py

+2
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ class HTTPConnection(object):
4040
:meth:`get_pushes() <hyper.HTTP20Connection.get_pushes>`).
4141
:param ssl_context: (optional) A class with custom certificate settings.
4242
If not provided then hyper's default ``SSLContext`` is used instead.
43+
:param force_proto: (optional) An optional parameter forcing the SSL/TLS
44+
connection to a specific protocol, circumvents use of ALPN/NPN.
4345
:param proxy_host: (optional) The proxy to connect to. This can be an IP address
4446
or a host name and may include a port.
4547
:param proxy_port: (optional) The proxy port to connect to. If not provided

0 commit comments

Comments
 (0)