Demystifying WebSocket in Ballerina — Listener, WebSocketCaller & WebSocketClient
In Ballerina a listener represents an an endpoint with required configs to start a server. Caller represents the connection. The listener accepts incoming connection requests (similar to the ‘listening socket’) and the actual connection that is created from it (that is the ‘connected socket’) is the caller. http:Listener is used to listen for WebSocket requests […]