You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-10 11:43:01 +03:00
show off redis:// format overloading
This commit is contained in:
@@ -159,6 +159,7 @@ port and host are probably fine and you don't need to supply any arguments. `cre
|
||||
* `redis.createClient()` is equivalent to `redis.createClient(6379, '127.0.0.1', {})`
|
||||
* `redis.createClient(options)` is equivalent to `redis.createClient(6379, '127.0.0.1', options)`
|
||||
* `redis.createClient(unix_socket, options)`
|
||||
* `redis.createClient('redis://user:pass@host:port', options)`
|
||||
|
||||
`options` is an object with the following possible properties:
|
||||
|
||||
|
Reference in New Issue
Block a user