We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
You can continue the conversation there. Go to discussion →
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm trying to connect to the Redis but I have no idea how do I put my username and password to enter with TLS.
The text was updated successfully, but these errors were encountered:
First command you send should be auth.
conn.connectSecure(<args>).than((Command command){ command.send_object(["AUTH","username","password"]) .then((var response) { print(response); command.send_object(["SET","token","value]).then( (var response) => print(response)); }); });
Or equivalently using async
Command command = await conn.connectSecure(<args>); var rsp_auth = await command.send_object(["AUTH","username","password"]); print(rsp_auth); var rsp_token = await command.send_object((["SET","token","value])); print(rsp_token);
I did not compile this, so let me know how this works for you.
Sorry, something went wrong.
No branches or pull requests
I'm trying to connect to the Redis but I have no idea how do I put my username and password to enter with TLS.
The text was updated successfully, but these errors were encountered: