go-socket.io
go-socket.io copied to clipboard
Fix: example code documentation V1.4.4
update example code for go-socket.io version 1.4.4. this pull request will resolve issue #407
@muhajirmuhajir Hey! please, told to me what are you wanna do by this fix?
Emit
is does not work?
@mrfoe7, yes, I just tried the Emit
function and it only sends the data to the connected client who sends it. not broadcast to all clients who connected to the socket. so I replace the documentation with BroadcastToRoom
and its work
@muhajirmuhajir Hey, I checked your decision on last week. Is your examples work? On my machine they does not work.