Reply with a binary safe string, which should not be escaped or filtered * taking in input a C buffer pointer and length. * * The function always returns REDISMODULE_OK. */
| 1675 | * |
| 1676 | * The function always returns REDISMODULE_OK. */ |
| 1677 | int RM_ReplyWithVerbatimString(RedisModuleCtx *ctx, const char *buf, size_t len) { |
| 1678 | client *c = moduleGetReplyClient(ctx); |
| 1679 | if (c == NULL) return REDISMODULE_OK; |
| 1680 | addReplyVerbatim(c, buf, len, "txt"); |
| 1681 | return REDISMODULE_OK; |
| 1682 | } |
| 1683 | |
| 1684 | /* Reply to the client with a NULL. |
| 1685 | * |
nothing calls this directly
no test coverage detected