data_connection_checker 0.2.1 copy "data_connection_checker: ^0.2.1" to clipboard
data_connection_checker: ^0.2.1 copied to clipboard

outdated

Checks for an actual internet connection, by opening a socket connection to DNS Resolver addresses.

0.2.1 #

Breaking change

  • hasDataConnection is now called hasConnection

Non breaking

  • isHostReachable() is now public. It allows for individual checks.
  • Fix DEFAULT_ADDRESSES to be unmodifiable
  • removed getter lastTryLog
  • added getter status
  • added getter lastTryResults
  • updated example and readme

0.2.0 #

  • Breaking changes
  • This utility is now a Singleton (DataConnectionChecker() always returns the same instance) as it doesn't make sense to have more than one instance of this class
  • addresses is a List<InternetAddressCheckOptions> now. See the docs for more info
  • Each address can now have its own port and timeout assigned.

0.1.3 #

  • Add more info in the README

0.1.2 #

  • Minor refactoring
  • Update README with more info

0.1.1 #

  • Remove pedantic as a dependency

0.1.0 #

  • Initial version
425
likes
0
pub points
94%
popularity

Publisher

unverified uploader

Checks for an actual internet connection, by opening a socket connection to DNS Resolver addresses.

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on data_connection_checker