This is a simple chat demo. The client side is pure static html page that it can be hosted even in Azure Blob, and the server can be hosted by either Node.js and Express or Azure Function
As you can see in the client page, the client side uses the browser-natively-supported WebSocket Web API to connect to the service. Every WebSocket frame is delivered to the Upstream. The Upstream can be any host accepting POST
request from the service, there is no need for the Upstream to handle WebSocket connections, it only handles bussiness logic.
Try the live chat demo Here. This demo is a static webpage hosted in Azure Blob, and it by default points to our demo endpoint. You can change it to your endpoint to try your own demo with your endpoint succussfully setup with below steps.