9

What is the full format of the ConnectionString used in StackExchange.Redis?

I have searched but cannot find documentation for it.

2 Answers 2

7

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

Sign up to request clarification or add additional context in comments.

3 Comments

Yes, that's it! It's not obvious to me (and to search engines) that those items directly map to a connection string. I also see that configCheckSeconds is not in the list (I just finished decompiling it). Would you be open to me tweaking that section of the document?
Ah, I see now that "command string" is used elsewhere in the page.
FYI: link is broken. Another answer, the same problem: stackoverflow.com/a/23923545/5112433
1

Update. The 'correct' answer links to crazy documentation.

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.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.