Ravi Sir's Cards › AWS
What is GoneException in WebSocket APIs?
This interview card answers: What is GoneException in WebSocket APIs? PostToConnection to a closed client returns 410 Gone. Delete that connectionId from DynamoDB and continue broadcasting to others. Except ClientError/GoneException — delete_item(Key=connectionId).
Read card text
What this card says
What it is
PostToConnection to a closed client returns 410 Gone.
Why it matters
Delete that connectionId from DynamoDB and continue broadcasting to others.
How / example
except ClientError/GoneException: delete_item(Key=connectionId).