Conversation long-polling¶
Conversation is based on long polling. Object “long-polling” is a part of “chat” collection. Additionally application code should prevent runs several long polling after refreshing chat page.
Table below describes long polling key points:
Event | Front-end | Back-end |
Start process |
|
|
End process |
|
|
Footnotes
[1] | Close tab or browser cause close chat only if one of the chat participant has still opened chat. In the case when all chat’s participants have closed chat — SFChat uses cron task clears garbage data. |