Async::RedisSourceAsyncRedisProtocolRESP2

module RESP2

RESP2 protocol implementation for Redis.

Nested

Definitions

def self.client(stream)

Create a new RESP2 client connection.

Signature

parameter stream IO

The stream to use for communication.

returns Connection

A new RESP2 connection.

Implementation

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