connection_checker library

Classes

AddressConnectionResult
Helper class that contains the address options and indicates whether opening a socket to it succeeded.
AddressOption
AddressRegexUtils
AddressUtils
ConnectionChecker
This is a singleton that can be accessed like a regular constructor i.e. ConnectionChecker() always returns the same instance.
HttpOption
Options for checking the internet connectivity to an address.
SocketOption

Enums

ConnectionStatus
Represents the status of the data connection. It has the following properties:

Typedefs

ResponseStatusFn = bool Function(Response response)
A Callback Function to decide whether the request succeeded or not.