Reputation: 6113
What is the full format of the ConnectionString used in StackExchange.Redis?
I have searched but cannot find documentation for it.
Upvotes: 8
Views: 24044
Reputation: 1063944
If in doubt, use the ConfigurationOptions
class (which has properties etc) and ToString()
it when you are ready to obtain the configuration-string. However, I suspect you are looking for this
Upvotes: 7
Reputation: 16257
There doesn't seem to be a connect string...
var client = redis.createClient(9000); // Open a port on localhost
var client = redis.createClient('/tmp/redis.sock'); // Open a unix socket
var client = redis.createClient(9000, 'example.com');
This, and options are documented on the README.
Upvotes: 1