go-socket.io icon indicating copy to clipboard operation
go-socket.io copied to clipboard

How can i disconnect client from server

Open generalomosco opened this issue 4 years ago • 1 comments

How can i disconnect client from server unlike node.js, i can easily call socket.disconnect(' disconnection message'); from server. but i can't found such in here

generalomosco avatar May 01 '20 16:05 generalomosco

Try this: https://github.com/googollee/go-socket.io/blob/101f99ce012b002ac8b85d901399054e2227d76b/conn.go#L20

bbars avatar Aug 09 '20 01:08 bbars