Reply with an empty string. * * The function always returns REDISMODULE_OK. */
| 1716 | * |
| 1717 | * The function always returns REDISMODULE_OK. */ |
| 1718 | int RM_ReplyWithEmptyString(RedisModuleCtx *ctx) { |
| 1719 | client *c = moduleGetReplyClient(ctx); |
| 1720 | if (c == NULL) return REDISMODULE_OK; |
| 1721 | AeLocker locker; |
| 1722 | std::unique_lock<fastlock> lock(c->lock); |
| 1723 | locker.arm(c); |
| 1724 | addReply(c,shared.emptybulk); |
| 1725 | return REDISMODULE_OK; |
| 1726 | } |
| 1727 | |
| 1728 | /* Reply with a binary safe string, which should not be escaped or filtered |
| 1729 | * taking in input a C buffer pointer and length. |
nothing calls this directly
no test coverage detected