<!-- iframe showing the search results (closed by default) -->
<divid="MSearchResultsWindow">
<iframesrc="javascript:void(0)" frameborder="0"
m_name="MSearchResults" id="MSearchResults">
</iframe>
</div>
</div><!-- top -->
<divclass="header">
<divclass="headertitle">
<divclass="title">Important </div></div>
</div><!--header-->
<divclass="contents">
<divclass="textblock"><p>Please be advised that this library <b>is no longer maintained</b>.</p>
<p>I have maintained this library for over 3 years, but I do not have enough time to provide a reliable support and continuous development for any longer.</p>
<p>Any existing or new issues will <b>not</b> be treated and I do not guarantee to merge any new pull request.</p>
<p>If anyone is willing to take over this project, feel free to fork this project and message me to add a link to your fork in this README.</p>
<p><code>cpp_redis</code> is a C++11 Asynchronous Multi-Platform Lightweight Redis Client, with support for synchronous operations, pipelining, sentinels and high availability.</p>
<h2>Requirement</h2>
<p><code>cpp_redis</code> has <b>no dependency</b>. Its only requirement is <code>C++11</code>.</p>
<p>It comes with no network module, so you are free to configure your own, or to use the default one (<ahref="https://github.com/cylix/tacopie">tacopie</a>)</p>
<h2>Example</h2>
<p>### cpp_redis::client </p><divclass="fragment"><divclass="line">cpp_redis::client client;</div><divclass="line"></div><divclass="line">client.connect();</div><divclass="line"></div><divclass="line">client.set(<spanclass="stringliteral">"hello"</span>, <spanclass="stringliteral">"42"</span>);</div><divclass="line">client.get(<spanclass="stringliteral">"hello"</span>, [](cpp_redis::reply& reply) {</div><divclass="line"> std::cout << reply << std::endl;</div><divclass="line">});</div><divclass="line"></div><divclass="line">client.sync_commit();</div><divclass="line"><spanclass="comment">//! or client.commit(); for asynchronous call</span></div></div><!-- fragment --><p><code>cpp_redis::client</code><ahref="https://github.com/Cylix/cpp_redis/wiki/Redis-Client">full documentation</a> and <ahref="https://github.com/Cylix/cpp_redis/wiki/Examples#redis-client">detailed example</a>. More about <ahref="https://github.com/Cylix/cpp_redis/wiki/Replies">cpp_redis::reply</a>.</p>
<p>A <ahref="https://github.com/Cylix/cpp_redis/wiki">Wiki</a> is available and provides full documentation for the library as well as <ahref="https://github.com/Cylix/cpp_redis/wiki/Installation">installation explanations</a>.</p>
<h1>Doxygen</h1>
<p>A <ahref="https://cylix.github.io/cpp_redis/html/">Doxygen documentation</a> is available and provides full API documentation for the library.</p>
<h2>License</h2>
<p><code>cpp_redis</code> is under [MIT License](LICENSE).</p>
<h2>Contributing</h2>
<p>Please refer to <aclass="el" href="md_CONTRIBUTING.html">CONTRIBUTING.md</a>.</p>
<h2>Special Thanks</h2>
<p><ahref="https://github.com/MikesAracade">Mike Moening</a> for his unexpected and incredible great work aiming to port cpp_redis on Windows, provides sentinel support and high availability support!</p>