Normal Polling / Salesforce Chat?


As it turns out, I think Salesforce Chat doesn’t use Long Polling, even though their documentation says they do: So, I’m planning ahead and thinking I might be best off using just normal polling. What’s the best way to implement a “polling” scheme in Apiant? Would a unary protocol thread also be appropriate here?

I’m hoping someone will help clear up my confusion on Salesforce’s polling scheme in response to this Stack Exchange post:

I decided to start a new thread instead of adding to the Long Polling / Salesforce Chat thread (Long Polling / Salesforce "Chat"?), even though this one is on a related topic.


See page 107 here:

OK, Saleforce Live Agent API really does use Long Polling. I’ll have to implement this using a protocol thread. Thanks.