ac_inet_connectivity_checker 0.1.2 copy "ac_inet_connectivity_checker: ^0.1.2" to clipboard
ac_inet_connectivity_checker: ^0.1.2 copied to clipboard

outdated

A simple stateless Internet connectivity checker which do not depend on any protocol

example/example.dart

// ignore_for_file: avoid_print

import 'package:ac_inet_connectivity_checker/ac_inet_connectivity_checker.dart';

Future<void> main() async {
  final checker = InetConnectivityChecker(
    endpoint: const InetEndpoint(host: 'google.com', port: 80),
  );

  print(await checker.cancelableOperation.value);
}
1
likes
0
points
89
downloads

Publisher

verified publisheranthonychampagne.fr

Weekly Downloads

A simple stateless Internet connectivity checker which do not depend on any protocol

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

async, freezed_annotation

More

Packages that depend on ac_inet_connectivity_checker