Skip to content

Commit 0581aab

Browse files
docs: update compatibility table for Socket.IO v4
The v4 contains only a few breaking changes at the API level on the server-side, so the current C++ client is compatible. Reference: https://socket.io/docs/v4/migrating-from-3-x-to-4-0/
1 parent e7f17c6 commit 0581aab

File tree

1 file changed

+20
-4
lines changed

1 file changed

+20
-4
lines changed

README.md

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,26 @@ By virtue of being written in C++, this client works in several different platfo
88

99
## Compatibility table
1010

11-
| C++ Client version | Socket.IO server version |
12-
| ------------------- | ------------------------ |
13-
| 2.x (`2.x` branch) | 1.x / 2.x |
14-
| 3.x (master branch) | 3.x |
11+
<table>
12+
<tr>
13+
<th rowspan="2">C++ Client version</th>
14+
<th colspan="2">Socket.IO server version</th>
15+
</tr>
16+
<tr>
17+
<td align="center">1.x / 2.x</td>
18+
<td align="center">3.x / 4.x</td>
19+
</tr>
20+
<tr>
21+
<td>2.x (<code>2.x</code> branch)</td>
22+
<td align="center">YES</td>
23+
<td align="center">YES, with <code><a href="https://socket.io/docs/v4/server-initialization/#allowEIO3">allowEIO3: true</a></code></td>
24+
</tr>
25+
<tr>
26+
<td>3.x (<code>master</code> branch)</td>
27+
<td align="center">NO</td>
28+
<td align="center">YES</td>
29+
</tr>
30+
</table>
1531

1632
## Features
1733

0 commit comments

Comments
 (0)