devlikeapro / waha

WAHA - WhatsApp HTTP API (REST API) that you can configure in a click!
https://waha.devlike.pro/
Apache License 2.0
813 stars 248 forks source link

[Feature Request] - internal event bus improvements (websocket) #335

Closed allburov closed 1 week ago

allburov commented 1 month ago

Prepare internal event bus architecture for those features:

patron:PRO

devlikepro commented 1 week ago

Will add first session.status event in 2024.6.7

patron:PRO

devlikepro commented 1 week ago
# Listen all sessions and events
websocat ws://localhost:3000/api/ws
# The same as above
websocat ws://localhost:3000/api/ws?session=*&events=*

# Listen certain events
# (!) Only 'session.status' event is supported now
websocat ws://localhost:3000/api/ws?session=*&events=session.status

# Listen certain session
# NOT SUPPORTED YET
# websocat ws://localhost:3000/api/ws?session=default&events=session.status

patron:PRO