1 個回答
- 最新
- 最多得票
- 最多評論
1
API Gateway only support web sockets from the client to the gateway. From the gateway to the backend integration, ECS in your case, it does not support web sockets. You will need to use an HTTP integration type (or VPC Link if the ECS cluster is private).
If your client is not able to established a web socket with the gateway due to firewalls, they may need to revert to polling instead.
I am not sure why you are trying to create a web socket connection from API Gateway to the backend, if the client does not support it anyway.
相關內容
- AWS 官方已更新 3 年前
- AWS 官方已更新 10 個月前
- AWS 官方已更新 2 年前
Worth replacing the REST API over a WebSocket API. ?