network_analyzer 0.1.0 copy "network_analyzer: ^0.1.0" to clipboard
network_analyzer: ^0.1.0 copied to clipboard

Network monitoring and analysis for mobile devices: real-time monitoring, throughput scanner, scanner history, and diagnostic tools (MTR, Ping, TCPing).

network_analyzer #

Network monitoring and analysis for mobile devices. Current API surface: real-time connection monitoring — latency, jitter, packet loss and health over ICMP/TCP/UDP, against internet hosts or the local gateway. Planned: throughput scanner (Mbps), scanner history, and diagnostic tools (MTR, Ping, TCPing).

This is the app-facing package of a federated plugin. Host applications depend on this package only; the Android and iOS implementations are endorsed and wired automatically.

Usage #

import 'package:network_analyzer/network_analyzer.dart';

final analyzer = NetworkAnalyzer();

final result = await analyzer.startMonitoring(
  InternetInterface(
    protocol: MonitorProtocol.icmp,
    host: PresetHost.cloudflare,
  ),
);
result.fold(
  onFailure: (failure) => print(failure.message),
  onSuccess: (_) => print('monitoring started'),
);

analyzer.metrics.listen((m) => print('${m.latency} · ${m.health}'));

// Later:
await analyzer.stopMonitoring();

All fallible operations return Result<T, Failure> and never throw.

1
likes
160
points
115
downloads

Documentation

API reference

Publisher

verified publisherkoaladevelopments.com

Weekly Downloads

Network monitoring and analysis for mobile devices: real-time monitoring, throughput scanner, scanner history, and diagnostic tools (MTR, Ping, TCPing).

Repository (GitHub)
View/report issues

Topics

#network #monitoring #connectivity #diagnostics

License

MIT (license)

Dependencies

flutter, network_analyzer_android, network_analyzer_ios, network_analyzer_platform_interface

More

Packages that depend on network_analyzer

Packages that implement network_analyzer