This example integrate a resp Loopback 4 application (socket.io).
Based on:
npm install
npm start
Open your browser to http://localhost:3000
- /chat/{id:number} -> ChatControllerWs (socket.io connections)
- /todo -> TodoController (HTTP Requests)
MIT
- WebSocketMetadata attribute name added
- bind of io instance and namespace to inject in other controllers.
- integration websocket controller booter
- integration with websocket example https://github.com/raymondfeng/loopback4-example-websocket