network_debugger library
Launcher for network-debugger binary with automatic download and caching.
Classes
- BinaryCache
- Manages cached binary files.
- DebuggerInstance
- Instance of a running debugger.
- Logger
- A simple logger with multiple log levels and optional color support.
- NetworkDebugger
- Main entry point for launching the network debugger.
- PlatformDetector
- Detects the current platform and returns the identifier used in binary names.
Enums
- LogLevel
- Log levels in order of severity.
Typedefs
- ChecksumCallback = void Function(bool validated, String? checksum)
- Callback for checksum validation.
- ProgressCallback = void Function(int received, int total)
- Callback for download progress updates.
- RetryCallback = void Function(int attempt, Exception error)
- Callback for retry attempts.
Exceptions / Errors
- CacheException
- Exception thrown when cache operations fail.
- ProcessException
- Exception thrown when process operations fail.