class RedisClient::RubyConnection

def write(command)

def write(command)
  buffer = RESP3.dump(command)
  begin
    @io.write(buffer)
  rescue SystemCallError, IOError, OpenSSL::SSL::SSLError => error
    raise ConnectionError.with_config(error.message, config)
  end
end