Fastest way to start a handler for a specific topic in a websocket

Asked by blackjackpsp

Hello everyone , I'm trying to manage on my websocket , the arrival of a notification on a special topic in mosquitto 1.4 and wanted to know if there were any side javascript method similar to the method python message_callback_add ( )

Question information

Language:
English Edit question
Status:
Solved
For:
mosquitto Edit question
Assignee:
No assignee Edit question
Solved by:
Roger Light
Solved:
Last query:
Last reply:
Revision history for this message
Best Roger Light (roger.light) said :
#1

That's a client side issue, so I'm afraid you'll have to go and ask wherever you got your javascript code.

Revision history for this message
blackjackpsp (blackjackpsp) said :
#2

Thanks Roger Light, that solved my question.