docs: Mention installing socket.io-client

This commit is contained in:
David Luecke 2023-07-18 11:58:43 -07:00 committed by GitHub
parent bcaddeac0b
commit 043298b8a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,7 @@ outline: deep
</Badges>
```
npm install @feathersjs/socketio-client --save
npm install @feathersjs/socketio-client socket.io-client --save
```
The `@feathersjs/socketio-client` module allows to connect to services exposed through the [Socket.io transport](../socketio.md) via a Socket.io socket. We recommend using Feathers and the `@feathersjs/socketio-client` module on the client if possible since it can also handle reconnection and reauthentication. If however, you want to use a direct Socket.io connection without using Feathers on the client, see the [Direct connection](#direct-connection) section.