|
12 | 12 | - [Compatibility table](#compatibility-table)
|
13 | 13 | - [How does it work under the hood?](#how-does-it-work-under-the-hood)
|
14 | 14 | - [API](#api)
|
15 |
| - - [adapter(uri[, opts])](#adapteruri-opts) |
16 |
| - - [adapter(opts)](#adapteropts) |
| 15 | + - [adapter(pubClient, subClient[, opts])](#adapterpubclient-subclient-opts) |
17 | 16 | - [RedisAdapter](#redisadapter)
|
18 |
| - - [RedisAdapter#sockets(rooms: Set<String>)](#redisadaptersocketsrooms-setstring) |
| 17 | + - [RedisAdapter#sockets(rooms: Set<String>)](#redisadaptersocketsrooms-setstring) |
19 | 18 | - [RedisAdapter#allRooms()](#redisadapterallrooms)
|
20 | 19 | - [RedisAdapter#remoteJoin(id:String, room:String)](#redisadapterremotejoinidstring-roomstring)
|
21 | 20 | - [RedisAdapter#remoteLeave(id:String, room:String)](#redisadapterremoteleaveidstring-roomstring)
|
22 | 21 | - [RedisAdapter#remoteDisconnect(id:String, close:Boolean)](#redisadapterremotedisconnectidstring-closeboolean)
|
23 |
| -- [Client error handling](#client-error-handling) |
24 |
| -- [Custom client (eg: with authentication)](#custom-client-eg-with-authentication) |
25 |
| -- [With ioredis client](#with-ioredishttpsgithubcomluinioredis-client) |
| 22 | +- [With ioredis client](#with-ioredis-client) |
26 | 23 | - [Cluster example](#cluster-example)
|
27 | 24 | - [Sentinel Example](#sentinel-example)
|
28 | 25 | - [Protocol](#protocol)
|
@@ -209,7 +206,7 @@ that a regular `Adapter` does not
|
209 | 206 | - `subClient`
|
210 | 207 | - `requestsTimeout`
|
211 | 208 |
|
212 |
| -### RedisAdapter#sockets(rooms: Set<String>) |
| 209 | +### RedisAdapter#sockets(rooms: Set<String>) |
213 | 210 |
|
214 | 211 | Returns the list of socket IDs connected to `rooms` across all nodes. See [Namespace#allSockets()](https://socket.io/docs/v3/server-api/#namespace-allSockets)
|
215 | 212 |
|
|
0 commit comments