HomeX-It / pusher-websocket-flutter

An unofficial Flutter plugin that wraps pusher-websocket-java on Android and pusher-websocket-swift on iOS
MIT License
30 stars 23 forks source link

add getting socket id #19

Closed MohammedYAmmar closed 4 years ago

MohammedYAmmar commented 4 years ago

getting the socket id to use to stop the client that broadcasts an event from receiving it

MohammedYAmmar commented 4 years ago

sorry i have made i mistake when copying the code to the repository I will change the request with the right code I do it like this my app and it is just work fine when the connection change I call the get socket id from the native code and store it in the var _socketId coz the socket id will change only when the connection changed.