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

A simple, cancellable and 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
150
points
267
downloads

Publisher

verified publisheranthonychampagne.fr

Weekly Downloads

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

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

async, freezed_annotation

More

Packages that depend on ac_inet_connectivity_checker