📄️ Web socket services
A WebSocket service is a software construct that uses WebSocket protocol for the communication between the server and the client. The WebSockets protocol is intended for real-time Internet communication that enables real-time architecture.
📄️ USoft Default Web Socket Provider
The USoft Default Web Socket Provider allows you to implement a WebSocket serviceand gives you access to utility functions for connecting to the Rules Engine. It also provide access to broadcast and send functions.
📄️ Example: USoft Default Web Socket Provider for a Chat application
The following step-by-step instructions are for creating a WebSocket service that retrieves text messages, saves them in a chat table, and echoes them back to all active clients along with the name of the user who has sent the message and the timestamp of the message.