You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you first please try one of the support channels below? If you can actually identify this as a bug, feel free to open up a new issue with a link to the original one and we'll gladly help you out.
Description:
Trying to listen to a socketi websocket server but after initializing the echo instance I cannot call channel parameter.
Steps To Reproduce:
const options = {
broadcaster: 'socket.io',
client: socketio,
key: "{key}",
wsHost: "{host}",
wsPort: 6001,
wssPort: 6001,
forceTLS: false,
encrypted: false,
disableStats: false,
enabledTransports: ["ws", "wss"],
};
const echo = new Echo({
options,
});
echo
.channel({channel})
.listen({Event}, ev => console.log(ev));
//it's returning: TypeError: undefined is not an object (evaluating 'this.connector.channel')
I have to mention that I have tested the events in my laravel project and I can listen to them.
The text was updated successfully, but these errors were encountered: