Overview of Hiredis
devHiredis is a minimalistic C client library for the Redis database. It provides a high-level, printf-like API for sending commands and receiving replies while maintaining a minimal code base. It supports the binary-safe Redis protocol (RESP) for Redis versions >= 1.2.0. The library offers three main APIs:
- Synchronous API: For blocking command execution.
- Asynchronous API: For non-blocking operations.
- Reply Parsing API: A decoupled stream parser designed for easy reusability (e.g., in higher-level language bindings).