summaryrefslogtreecommitdiff
path: root/hiredis.h
diff options
context:
space:
mode:
authormichael-grunder <michael.grunder@gmail.com>2023-03-05 12:58:45 -0800
committerMichael Grunder <michael.grunder@gmail.com>2023-03-07 17:06:35 -0800
commit011f7093c001b6584252418fc9f657c374bdca66 (patch)
treee7e034370ff0808efb1f1a59411ce21a4b77c9d7 /hiredis.h
parente9243d4f706ab760f6c0f096d62e540ab2544c61 (diff)
Allow specifying the keepalive interval
Fixes #1155
Diffstat (limited to 'hiredis.h')
-rw-r--r--hiredis.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hiredis.h b/hiredis.h
index a945d65..3c112dc 100644
--- a/hiredis.h
+++ b/hiredis.h
@@ -328,6 +328,7 @@ int redisReconnect(redisContext *c);
redisPushFn *redisSetPushCallback(redisContext *c, redisPushFn *fn);
int redisSetTimeout(redisContext *c, const struct timeval tv);
int redisEnableKeepAlive(redisContext *c);
+int redisEnableKeepAliveWithInterval(redisContext *c, int interval);
void redisFree(redisContext *c);
redisFD redisFreeKeepFd(redisContext *c);
int redisBufferRead(redisContext *c);