{
  "id": "hiredis",
  "title": "C client for Redis",
  "url": "https://redis.io/docs/latest/integrate/hiredis/",
  "summary": "Learn how to build with Redis and C",
  "tags": [
    "docs",
    "integrate",
    "oss",
    "rs",
    "rc"
  ],
  "last_updated": "2026-04-01T08:10:08-05:00",
  "children": [],
  "page_type": "content",
  "content_hash": "8f0159a41f7cfc243e30767fe6b35ad13c3591697a4fbc8d64540da370ce7841",
  "sections": [
    {
      "id": "overview",
      "title": "Overview",
      "role": "overview",
      "text": "Connect your C application to a Redis database using the hiredis client library."
    },
    {
      "id": "overview",
      "title": "Overview",
      "role": "overview",
      "text": "hiredis is a minimalistic C client library for Redis that provides a simple, efficient interface for Redis operations. It's designed to be lightweight, fast, and easy to integrate into C applications with minimal dependencies."
    },
    {
      "id": "key-features",
      "title": "Key Features",
      "role": "content",
      "text": "- **Lightweight**: Minimal memory footprint and dependencies\n- **High Performance**: Optimized for speed and low latency\n- **Synchronous & Asynchronous**: Support for both blocking and non-blocking operations\n- **Pipeline Support**: Efficient command batching for improved throughput\n- **Error Handling**: Comprehensive error reporting and handling\n- **Cross-platform**: Works on Linux, macOS, Windows, and embedded systems\n- **Thread Safe**: Safe for use in multi-threaded applications\n- **Simple API**: Clean, straightforward C interface"
    },
    {
      "id": "getting-started",
      "title": "Getting Started",
      "role": "setup",
      "text": "Refer to the complete [C guide]() to install, connect, and use hiredis."
    }
  ],
  "examples": []
}
