In metadata app > webSocket: https://docs.espocrm.com/development...pp-web-socket/
Use this service class to submit to a websocket in the backend: https://github.com/espocrm/espocrm/b...Submission.php
Announcement
Collapse
No announcement yet.
How to register a new websocket event?
Collapse
X
-
Originally posted by boCyrill View PostHi everyone,
Please I would like to know what is the process to register a new websocket event as I cant find see any documentation online.
I have setup the websocket service on the server already and enabled in the CRM and it works perfectly.
I have created a custom service that returns data from a record that often change in background.
Actually I use Ajax to call that custom service every minute but I would now like to instead register a websocket event that would push the new data when an update happen.
Please can you help?
Thanks in advance
Leave a comment:
-
How to register a new websocket event?
Hi everyone,
Please I would like to know what is the process to register a new websocket event as I cant find see any documentation online.
I have setup the websocket service on the server already and enabled in the CRM and it works perfectly.
I have created a custom service that returns data from a record that often change in background.
Actually I use Ajax to call that custom service every minute but I would now like to instead register a websocket event that would push the new data when an update happen.
Please can you help?
Thanks in advance
Leave a comment: