diff options
author | Chris Rebert <code@chrisrebert.com> | 2015-08-12 21:47:37 -0700 |
---|---|---|
committer | Chris Rebert <code@chrisrebert.com> | 2015-08-13 02:43:38 -0700 |
commit | 69002968b0f8204adf19c6d81dec22af567b7844 (patch) | |
tree | 566fca182a01a24613c4ea256721f0d366ebdaee /redis/connection.py | |
parent | 81429b44acff3f238a212a1651241b49cde76c85 (diff) | |
download | redis-py-69002968b0f8204adf19c6d81dec22af567b7844.tar.gz |
Link to redis:// & rediss:// scheme IANA registrations in docs
Diffstat (limited to 'redis/connection.py')
-rwxr-xr-x | redis/connection.py | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/redis/connection.py b/redis/connection.py index 0229d28..19184a5 100755 --- a/redis/connection.py +++ b/redis/connection.py @@ -742,9 +742,14 @@ class ConnectionPool(object): unix://[:password]@/path/to/socket.sock?db=0 Three URL schemes are supported: - redis:// creates a normal TCP socket connection - rediss:// creates a SSL wrapped TCP socket connection - unix:// creates a Unix Domain Socket connection + + - ```redis://`` + <http://www.iana.org/assignments/uri-schemes/prov/redis>`_ creates a + normal TCP socket connection + - ```rediss://`` + <http://www.iana.org/assignments/uri-schemes/prov/rediss>`_ creates a + SSL wrapped TCP socket connection + - ``unix://`` creates a Unix Domain Socket connection There are several ways to specify a database number. The parse function will return the first specified option: |