Module redis_async::client [−][src]
The client API itself.
This contains three main functions that return three specific types of client:
connectreturns a pair ofStreamandSink, clients can write RESP messages to theSinkand 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_connectis used for most of the standard Redis commands, where one request results in one response.pubsub_connectis 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 |