Reply with a bulk string, taking in input a RedisModuleString object. * * The function always returns REDISMODULE_OK. */
| 1654 | * |
| 1655 | * The function always returns REDISMODULE_OK. */ |
| 1656 | int RM_ReplyWithString(RedisModuleCtx *ctx, RedisModuleString *str) { |
| 1657 | client *c = moduleGetReplyClient(ctx); |
| 1658 | if (c == NULL) return REDISMODULE_OK; |
| 1659 | addReplyBulk(c,str); |
| 1660 | return REDISMODULE_OK; |
| 1661 | } |
| 1662 | |
| 1663 | /* Reply with an empty string. |
| 1664 | * |
nothing calls this directly
no test coverage detected