Skip to content
This repository has been archived by the owner on Nov 10, 2022. It is now read-only.

"wsInstance must be a WebSocket instance" #2

Open
kushagrob opened this issue Oct 23, 2022 · 0 comments
Open

"wsInstance must be a WebSocket instance" #2

kushagrob opened this issue Oct 23, 2022 · 0 comments

Comments

@kushagrob
Copy link

Hi, when I run the example code in the documentation:

`const wsRedis = require("ws-redis");
const ws = require("ws");

wsRedis.init(new ws.Server({ port: 8080 }));`

I get the error "wsInstance must be a WebSocket instance." What should I be putting in the init function instead? Thanks in advance!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant