File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,10 @@ class Redis
1919 const OPT_READ_TIMEOUT = 3 ;
2020 const OPT_SCAN = 4 ;
2121 const OPT_SLAVE_FAILOVER = 5 ;
22+ const OPT_TCP_KEEPALIVE = 6 ;
23+ const OPT_COMPRESSION = 7 ;
24+ const OPT_REPLY_LITERAL = 8 ;
25+ const OPT_COMPRESSION_LEVEL = 9 ;
2226
2327 /**
2428 * Cluster options
@@ -42,6 +46,20 @@ class Redis
4246 const SERIALIZER_MSGPACK = 3 ;
4347 const SERIALIZER_JSON = 4 ;
4448
49+ /**
50+ * Compressions
51+ */
52+ const COMPRESSION_NONE = 0 ;
53+ const COMPRESSION_LZF = 1 ;
54+ const COMPRESSION_ZSTD = 2 ;
55+
56+ /**
57+ * Compression ZSTD levels
58+ */
59+ const COMPRESSION_ZSTD_MIN = 1 ;
60+ const COMPRESSION_ZSTD_DEFAULT = 3 ;
61+ const COMPRESSION_ZSTD_MAX = 22 ;
62+
4563 /**
4664 * Multi
4765 */
@@ -58,6 +76,7 @@ class Redis
5876 const REDIS_LIST = 3 ;
5977 const REDIS_ZSET = 4 ;
6078 const REDIS_HASH = 5 ;
79+ const REDIS_STREAM = 6 ;
6180
6281 /**
6382 * Creates a Redis client
You can’t perform that action at this time.
0 commit comments