Reply to the client with a null array, simply null in RESP3 * null array in RESP2. * * The function always returns REDISMODULE_OK. */
| 1566 | * |
| 1567 | * The function always returns REDISMODULE_OK. */ |
| 1568 | int RM_ReplyWithNullArray(RedisModuleCtx *ctx) { |
| 1569 | client *c = moduleGetReplyClient(ctx); |
| 1570 | if (c == NULL) return REDISMODULE_OK; |
| 1571 | addReplyNullArray(c); |
| 1572 | return REDISMODULE_OK; |
| 1573 | } |
| 1574 | |
| 1575 | /* Reply to the client with an empty array. |
| 1576 | * |
nothing calls this directly
no test coverage detected