Announcement

Collapse
No announcement yet.

EspoCRM and WebSockets

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • EspoCRM and WebSockets

    Following my previous post about some kind of Instant Chat feature, are there any developer guides on how to use WebSockets within EspoCRM as part of a custom feature?

  • #2
    I recommend to search through code by keyword 'websocket'. There's no guide how to utilize websocket for custom needs.

    1. You will need to define your custom 'topic' in metadata.
    2. Need to submit to the websocket with your 'topic' like https://github.com/espocrm/espocrm/b...Submit.php#L50
    3. Subscribe in frontend to your 'topic'.

    Comment

    Working...
    X