Skip to content

Commit c044433

Browse files
docs: add compatibility table
1 parent e339323 commit c044433

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

Readme.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,19 @@
44
[![Build Status](https://secure.travis-ci.org/socketio/socket.io-parser.svg?branch=master)](http://travis-ci.org/socketio/socket.io-parser)
55
[![NPM version](https://badge.fury.io/js/socket.io-parser.svg)](http://badge.fury.io/js/socket.io-parser)
66

7-
A socket.io encoder and decoder written in JavaScript complying with version `4`
7+
A socket.io encoder and decoder written in JavaScript complying with version `5`
88
of [socket.io-protocol](https://github.com/socketio/socket.io-protocol).
99
Used by [socket.io](https://github.com/automattic/socket.io) and
1010
[socket.io-client](https://github.com/automattic/socket.io-client).
1111

12+
Compatibility table:
13+
14+
| Parser version | Socket.IO server version | Protocol revision |
15+
|----------------| ------------------------ | ----------------- |
16+
| 3.x | 1.x / 2.x | 4 |
17+
| 4.x | 3.x | 5 |
18+
19+
1220
## Parser API
1321

1422
socket.io-parser is the reference implementation of socket.io-protocol. Read

0 commit comments

Comments
 (0)