[−][src]Module redis_async::client
The client API itself.
This contains three main functions that return three specific types of client:
connect
returns a pair ofStream
andSink
, clients can write RESP messages to theSink
and read RESP messages from theStream
. Pairing requests to responses is up to the client. This is intended to be a low-level interface from which more user-friendly interfaces can be built.paired_connect
is used for most of the standard Redis commands, where one request results in one response.pubsub_connect
is used for Redis's PUBSUB functionality.
Re-exports
pub use self::connect::connect; |
pub use self::paired::paired_connect; |
pub use self::paired::PairedConnection; |
pub use self::pubsub::pubsub_connect; |
pub use self::pubsub::PubsubConnection; |
Modules
connect | |
paired | |
pubsub |