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
Is it possible to send a message to the subscriber as soon as it subscribes? I need to send an ID to every new client connected.
Sadly, this doesn't work:
I though that onSubsrcibe() can to that, but it doesn't allow passing http.ResponseWriter in any way and I can't see how it can be accomplished otherwise.
I've been banging my head over the wall for the past 2 days and I can't get it to work.
Could you provide any help?
The text was updated successfully, but these errors were encountered:
Is it possible to send a message to the subscriber as soon as it subscribes? I need to send an ID to every new client connected.
Sadly, this doesn't work:
I though that
onSubsrcibe()
can to that, but it doesn't allow passinghttp.ResponseWriter
in any way and I can't see how it can be accomplished otherwise.I've been banging my head over the wall for the past 2 days and I can't get it to work.
Could you provide any help?
The text was updated successfully, but these errors were encountered: