Crate resp

Source
Expand description

RESP(Redis Serialization Protocol) Serialization for Rust.

Structs§

Decoder
A streaming RESP Decoder.

Enums§

Value
Represents a RESP value, see Redis Protocol specification.

Functions§

encode
Encodes RESP value to RESP binary buffer.
encode_slice
Encodes a slice of string to RESP binary buffer. It is use to create a request command on redis client.