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
How to use subscribe to a topic feature in this lib?
basically, the backend is using this lib adonis-websocket-client here is a function that subscribe to topic.
here is an example this.ws.withJwtToken(this.token).subscribe(channel)
Sending a message to a specific topic socket.ws.getSubscription(topic).emit(event, message)
The text was updated successfully, but these errors were encountered:
How to use subscribe to a topic feature in this lib?
basically, the backend is using this lib
adonis-websocket-client
here is a function thatsubscribe
totopic
.here is an example
this.ws.withJwtToken(this.token).subscribe(channel)
Sending a message to a specific topic
socket.ws.getSubscription(topic).emit(event, message)
The text was updated successfully, but these errors were encountered: