Skip to content

Commit 6f14f38

Browse files
committed
Adding information in connection pool class doc string for available SSLConnection class, that can be used for SSL connections
1 parent a757bad commit 6f14f38

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

redis/asyncio/connection.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1037,6 +1037,7 @@ class ConnectionPool:
10371037
By default, TCP connections are created unless ``connection_class``
10381038
is specified. Use :py:class:`~redis.UnixDomainSocketConnection` for
10391039
unix sockets.
1040+
:py:class:`~redis.SSLConnection` can be used for SSL enabled connections.
10401041
10411042
Any additional keyword arguments are passed to the constructor of
10421043
``connection_class``.

redis/connection.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1315,6 +1315,7 @@ class ConnectionPool:
13151315
By default, TCP connections are created unless ``connection_class``
13161316
is specified. Use class:`.UnixDomainSocketConnection` for
13171317
unix sockets.
1318+
:py:class:`~redis.SSLConnection` can be used for SSL enabled connections.
13181319
13191320
Any additional keyword arguments are passed to the constructor of
13201321
``connection_class``.

0 commit comments

Comments
 (0)