MrBin99 / LaravelEchoAndroid

Laravel Echo Android client
GNU General Public License v3.0
49 stars 22 forks source link

Need periodically pinging server. #16

Open dinalt2006 opened 5 years ago

dinalt2006 commented 5 years ago

I need to add a function of periodic server pinging to my application. How to implement this in your library?

dinalt2006 commented 5 years ago

Does exist any opportunity to execute something like "socket.emit('PING')" in your client?

MrBin99 commented 5 years ago

Sorry, for the moment this is not possible. I about to merge a pull-request which make available the socket object on the Echo instance. So you can implement what you want with Socket.io. Please stay tune on new updates of the lib.