Module: Async::Redis::Protocol::RESP2

Defined in:
lib/async/redis/protocol/resp2.rb

Overview

RESP2 protocol implementation for Redis.

Defined Under Namespace

Classes: Connection

Class Method Summary collapse

Class Method Details

.client(stream) ⇒ Object

Create a new RESP2 client connection.



38
39
40
# File 'lib/async/redis/protocol/resp2.rb', line 38

def self.client(stream)
	Connection.new(stream)
end