Frames are defined by the WebSocket RFC. This is the way in which clients and servers exchange data. When you send a message it is encoded in a frame. If the message is > 32KB, it must be encoded in multiple frames.
Thanks for RFC reference.
And how AWS treat frames >32KB? I found in AWS API Gateway quotas that max payload is 128Kbytes. I create a test web socket gateway and I send over it a packet composed exactly of 128Kbytes, and the communication was ok.
So, AWS provide and integrated logic in order to handle multiple frame? Logic used in both direction (in and out from gateway)?
Thanks for RFC reference. And how AWS treat frames >32KB? I found in AWS API Gateway quotas that max payload is 128Kbytes. I create a test web socket gateway and I send over it a packet composed exactly of 128Kbytes, and the communication was ok.
So, AWS provide and integrated logic in order to handle multiple frame? Logic used in both direction (in and out from gateway)?
If I am not mistaken, the RFC covers that as well, i.e., how to break a large message to multiple frames.