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

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

ioredis connection options, used only when [HttpProtectOptions.redis](https://imqueue.org/api/http-protect/latest/http-protect.httpprotectoptions.redis/) is not given.

**Signature:**

```typescript
redisOptions?: RedisOptions;
```

## Remarks

Omitting both means the constructor connects to `localhost:6379`. There is no lazy mode: the connection is opened by the constructor, so a [HttpProtect](https://imqueue.org/api/http-protect/latest/http-protect.httpprotect/) built in a process with no Redis reachable will emit ioredis connection errors on its own client rather than failing to construct.

