MCPcopy Create free account
hub / github.com/F-Stack/f-stack / RM_ReplyWithNullArray

Function RM_ReplyWithNullArray

app/redis-6.2.6/src/module.c:1568–1573  ·  view source on GitHub ↗

Reply to the client with a null array, simply null in RESP3 * null array in RESP2. * * The function always returns REDISMODULE_OK. */

Source from the content-addressed store, hash-verified

1566 *
1567 * The function always returns REDISMODULE_OK. */
1568int 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 *

Callers

nothing calls this directly

Calls 2

moduleGetReplyClientFunction · 0.85
addReplyNullArrayFunction · 0.85

Tested by

no test coverage detected