Skip to main content

Module connection

Module connection 

Source
Expand description

One Redis connection: a TCP socket, a read buffer, and the handshake.

Nothing here is generic over a transport — Redis is a request/response protocol over a stream, so the whole client is “write a command, read one reply”, plus the discipline of never reusing a connection whose framing may have drifted.

Structs§

Connection