and a nodejs as a server? Can you provide an example of using nodejs to execute a websocket client? Js Express Step by step tutorial Js WebSocket Simple chat tutorial - Medium In this case, can nodejs detect 3G network loss then resume or restart the websocket? This is a quick step by step tutorial about, webSocket, Node/Express and Typescript. A simple client /server library for Node. Js that helps us to manage all the stuff under the protocol.