rueidis
rueidis copied to clipboard
Feature: support REDIRECT in the standalone client implementation
The standalone Valkey 8 server can respond with REDIRECT messages when a client enables CLIENT CAPA redirect, therefore, our standalone client implementation should be able to follow them.
Related to https://github.com/valkey-io/valkey-doc/pull/164 and https://valkey.io/commands/client-capa/
TODO:
- [ ] Add
EnableRedirectto theStandaloneOptionstruct and sendCLIENT CAPA redirectcommand when making connections. - [ ] Check if a response is a
REDIRECTmessage and do the redirection in thestandaloneclient implementation.