@@ -73,7 +73,6 @@ repository.
7373 - [ BrowserChannel] ( #browserchannel )
7474 - [ Engine.IO] ( #engineio )
7575 - [ Faye] ( #faye )
76- - [ Socket.IO] ( #socketio )
7776 - [ SockJS] ( #sockjs )
7877 - [ uws] ( #uws )
7978 - [ WebSockets] ( #websockets )
@@ -1262,53 +1261,6 @@ var Socket = primus.Socket
12621261 , socket = new Socket (' url' );
12631262```
12641263
1265- #### Socket.IO
1266-
1267- The Socket.IO transport was written against Socket.IO 0.9.x. It was one of the
1268- first real-time servers written on Node.js and is one of the most used modules
1269- in Node.js. It uses multiple transports to connect the server. To use Socket.IO
1270- you need to install the ` socket.io ` module:
1271-
1272- ```
1273- npm install socket.io@0.9.x --save
1274- ```
1275-
1276- And tell ` Primus ` that you want to use ` socket.io ` as transformer:
1277-
1278- ``` js
1279- var primus = new Primus (server, { transformer: ' socket.io' });
1280- ```
1281-
1282- If you want to use the client interface inside of Node.js you also need to
1283- install the ` primus-socket.io-client ` module. This a fork of ` socket.io-client `
1284- maintained by us to fix the bugs found on the 0.9 branch which is no longer
1285- supported upstream:
1286-
1287- ```
1288- npm install primus-socket.io-client --save
1289- ```
1290-
1291- If you want, you can opt out of our fixes and use the original ` socket.io-client ` .
1292- To do that just install ` socket.io-client ` instead of ` primus-socket.io-client ` :
1293-
1294- ```
1295- npm install socket.io-client@0.9.x --save
1296- ```
1297-
1298- And then you can access it from your server instance:
1299-
1300- ``` js
1301- var Socket = primus .Socket
1302- , socket = new Socket (' url' );
1303- ```
1304-
1305- ** Please keep in mind that the browser client will always use our fixes.**
1306-
1307- ** Note: Primus will never support Socket.IO 1.0. As it's just an abstraction built
1308- upon Engine.IO so it makes more sense to use Engine.IO in Primus directly.
1309- Socket.IO 0.9.x will be supported as it uses a completely different transport
1310- system.**
1311-
13121264#### SockJS
13131265
13141266SockJS is a real-time server that focuses on cross-domain connections and does
0 commit comments