My original question was this, where I was trying to do
socket.io-client --> AWS Api Gateway Restful API --> socket.io(node.js / Express)
but I keep getting the 404
error:
Error: Route '/socket.io?EIO=4&t=xxx&transport=polling' does not exist.
I found this discussion: https://github.com/socketio/socket.io-client/issues/1370 and it seems that Socket.io
connections from the frontend are not supported by AWS Gateway API.
It seems to be that nobody was successful in connecting socket.io server via AWS API Gateway.
So, the fundamental question is: Is Socket.io compatible with AWS Api Gateway at all?