SocketServerManager constructor

SocketServerManager()

Implementation

SocketServerManager() {
  WidgetsBinding.instance.addObserver(this);
  socket = IO.io(url, <String, dynamic>{
    'transports': ['websocket'],
    'autoConnect': false,
  });
}