loopback4-example-websocket icon indicating copy to clipboard operation
loopback4-example-websocket copied to clipboard

How to connect to web socket?

Open KingOfDog opened this issue 4 years ago • 0 comments

I tried your example by downloading it as is and starting it. But I can't figure out how to connect to the /chats WebSocket. All connections I start trigger the global middleware but not at all the controller/namespace level. I connect via a socket.io-client in NodeJS to the URL ws://localhost:3000/chats and there is not a single error.

PS: I know you're busy and so but I'm really desperate right now :( Though, I can totally understand if you don't have the time to reply.

KingOfDog avatar Oct 19 '19 08:10 KingOfDog