Skip to content
  • Nathan Harris's avatar
    Lay groundwork for RESP3 support and flat ChannelHandler hierarchy · aa185a01
    Nathan Harris authored
    ## Motivation
    
    Since Redis 6.0, a new serialization protocol format (v3) is available that gives richer semantic reasoning behind the different types to enable commands to better understand the return types to provide in their programming language.
    
    In addition, the `RESPTranslator` type is going to see more direct usage, and the current API doesn't make read well.
    
    ## Changes
    
    - Add: Internal `RESPVersion` enum that the `RESPTranslator` will start to use
    - Rename: `RESPTranslator.parseBytes` to `RESPTranslator.read(from:)`
    aa185a01