How to disconnect a Websocket client from AWS API Gateway server side

AWS API Gateway WebSocket is very cool.

I have to say it, and I really like it. If you were reading — setting up — fixing a NodeJS WebSocket server, probably you will understand how complex it is, when you need to scale up your server, when you need to monitor your server, and also when you need to optimize your server. API Gateway does all the jobs for you, so you can focus on coding, without worry about almost of DevOps stuffs and reasonable price.

Continue reading “How to disconnect a Websocket client from AWS API Gateway server side”