loopback4-example-websocket
loopback4-example-websocket copied to clipboard
How to connect to web socket?
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.