1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
0
When using WebSockets, the connection is established once using HTTP. From that point you send messages over the existing connections, not using HTTP protocol, so there are no HTTP headers and there are no request IDs.
There might be some ACK in the web sockets protocol itself, but if you want to be sure, you need to send an ACK from the backend.
관련 콘텐츠
- AWS 공식업데이트됨 일 년 전
Thanks, ok but i thought that AWS Apigateway had a way to override responseID in the socket messages itself. as it will already read the json in the sent message to get the route name, it could also read a requestID to use it instead of generating one.