You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I assume you mean to ask " does this library support / include the 'Real time API'.
the answer is 'not in its current state but you could add it easily.' I suspect @Fab1en will agree with me on this ;)
If you mean this https://rocket.chat/docs/developer-guides/realtime-api/ , I fear that it is not as simple as @Lawri-van-Buel says. As far as I understand the documentation, the Real Time API uses websockets, whereas the API provided with this PHP REST client is only via HTTP. And I don't know how to deal with websockets using PHP.
However, if your question simply is "does the code executed by this PHP REST client updates other clients in real time ? " the answer is yes. As soon as a HTTP call is made to the Rocket Chat server, it will be reverberated to all clients via websockets.
This will give real time api?
The text was updated successfully, but these errors were encountered: