Is a WebSocket client guaranteed to see messages in the order they were POSTed to the @connections API?

0

In API Gateway, to push a message to a connected WebSocket client, you're supposed to send a POST request to API Gateway's @connections API.

My question is:

  • Will this POST request block until the message has been sent over the network?
  • Or, if it returns sooner than that, is it at least guaranteed to be seen by the client before a subsequent POST?

I can't find this guaranteed anywhere in the API Gateway docs, but the usability of AWS API Gateway for WebSocket APIs would seem to hinge on this. If there is no such guarantee, the client could theoretically see messages in a random order.

Maxpm
已提問 1 年前檢視次數 77 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南