# HttpProtectOptions.redis property · @imqueue/http-protect

Source: https://imqueue.org/api/http-protect/latest/http-protect.httpprotectoptions.redis/
Published: 2026-08-01
Author: @imqueue maintainers (https://github.com/imqueue)
Package: @imqueue/http-protect 3.0.1 — generated reference, not hand-written

An existing ioredis client to use instead of opening another connection.

**Signature:**

```typescript
redis?: Redis;
```

## Remarks

Pass this if your application already has a client. Supplying it also prevents the constructor from connecting on its own, which is the only way to construct a [HttpProtect](https://imqueue.org/api/http-protect/latest/http-protect.httpprotect/) without immediately opening a socket. Note that [HttpProtect.destroy()](https://imqueue.org/api/http-protect/latest/http-protect.httpprotect.destroy/) disconnects whichever client it is holding, including one passed in here.

