init function

void init()

Implementation

void init () {
  getIt.registerLazySingleton(() => SendPingTask());
  getIt.registerLazySingleton(() => SendMessageToServerAgainTask());
  getIt.registerLazySingleton(() => ReconnectWhenDidNotReceivePongFromServerTask());
  getIt.registerLazySingleton(() => ConnectionService());
  getIt.registerLazySingleton(() => AuthenticateService());
  getIt.registerLazySingleton(() => RequestsService());
  getIt.registerLazySingleton<AbstractIOWsChannel>(() => IOWsChannel());
  getIt.registerLazySingleton(() => ListeningHandler());
}