API Reference
ioredis-serverless uses the same API as ioredis. For complete documentation, see:
Connection
The only difference is the connection URL. Instead of a TCP connection string, pass a WebSocket URL:
javascript
import Redis from '@bello-kv/ioredis-serverless'
const redis = new Redis({
url: 'wss://your-proxy.example.com'
})All other options, methods, and events are identical to ioredis.