hiredis/examples
Michael Grunder 2e7d7cbabd
Resp3 oob push support (#841)
Proper support for RESP3 PUSH messages.

By default, PUSH messages are now intercepted and the reply memory freed.  
This means existing code should work unchanged when connecting to Redis
>= 6.0.0 even if `CLIENT TRACKING` were then enabled.

Additionally, we define two callbacks users can configure if they wish to handle
these messages in a custom way:

void redisPushFn(void *privdata, void *reply);
void redisAsyncPushFn(redisAsyncContext *ac, void *reply);

See #825
2020-07-19 18:54:42 -07:00
..
CMakeLists.txt Resp3 oob push support (#841) 2020-07-19 18:54:42 -07:00
example-ae.c Move examples into their own folder 2013-07-10 22:16:53 -07:00
example-glib.c Add GLib 2.0 adapter 2015-01-05 16:39:30 -05:00
example-ivykis.c Some Windows quality of life improvments. (#846) 2020-07-10 12:53:52 -07:00
example-libev.c Some Windows quality of life improvments. (#846) 2020-07-10 12:53:52 -07:00
example-libevent-ssl.c Some Windows quality of life improvments. (#846) 2020-07-10 12:53:52 -07:00
example-libevent.c Some Windows quality of life improvments. (#846) 2020-07-10 12:53:52 -07:00
example-libuv.c Some Windows quality of life improvments. (#846) 2020-07-10 12:53:52 -07:00
example-macosx.c Fix a typo in the Mac OSX example 2015-07-27 23:19:41 +02:00
example-push.c Resp3 oob push support (#841) 2020-07-19 18:54:42 -07:00
example-qt.cpp Add Qt adapter and relative example. 2015-07-27 23:17:41 +02:00
example-qt.h Make sure to disconnect the adapter in the destructor 2015-07-27 23:17:41 +02:00
example-ssl.c Some Windows quality of life improvments. (#846) 2020-07-10 12:53:52 -07:00
example.c Some Windows quality of life improvments. (#846) 2020-07-10 12:53:52 -07:00