ra1u / redis-dart

fast redis protocol parser and client
MIT License
84 stars 35 forks source link

enable secure connection #21

Closed derrick56007 closed 3 years ago

derrick56007 commented 3 years ago

https://github.com/ra1u/redis-dart/issues/19

allows for connections to secure redis clients

ra1u commented 3 years ago

This looks fine. Thank you for you work.

Can you expose additional function in RedisConnection like Future<Command> connectWithSocket(Socket s) that allows injecting custom socket in similar fashion. This would allow overriding secureSocket options or using stuff like Websockets or even trying rfc1149 at some point in future without modifying current library.