Skip to content

Commit

Permalink
docs: rework of the README
Browse files Browse the repository at this point in the history
  • Loading branch information
darrachequesne committed Mar 13, 2024
1 parent 111ef46 commit 5387176
Show file tree
Hide file tree
Showing 4 changed files with 1,549 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ The `@socket.io/redis-adapter` package allows broadcasting packets between multi
- [With the `ioredis` package](#with-the-ioredis-package)
- [With the `ioredis` package and a Redis cluster](#with-the-ioredis-package-and-a-redis-cluster)
- [With Redis sharded Pub/Sub](#with-redis-sharded-pubsub)
- [Options](#options)
- [Default adapter](#default-adapter)
- [Sharded adapter](#sharded-adapter)
- [License](#license)

## Supported features
Expand Down Expand Up @@ -63,7 +66,7 @@ await Promise.all([
]);

const io = new Server({
adapter: createAdapter(redisClient)
adapter: createAdapter(pubClient, subClient)
});

io.listen(3000);
Expand Down Expand Up @@ -185,7 +188,7 @@ Minimum requirements:

## Options

### Default Redis adapter
### Default adapter

| Name | Description | Default value |
|------------------------------------|-------------------------------------------------------------------------------|---------------|
Expand Down
Loading

0 comments on commit 5387176

Please sign in to comment.