cpp-redis / cpp_redis

C++11 Lightweight Redis client: async, thread-safe, no dependency, pipelining, multi-platform
MIT License
720 stars 199 forks source link

Does it support connecting to redis using password ? #61

Closed siddjoshi closed 4 years ago

siddjoshi commented 4 years ago

Hi ,

I did not find an example where I can see the cpp_redis::client.connect method using authentication to connect to redis server.

Is it supported ?

Regards Siddharth

siddjoshi commented 4 years ago

I got it. We have to use cpp_redis::client.auth post connect.