KtorMonitor¶
Powerful tool to monitor Ktor Client requests and responses, making it easier to debug and analyze network communication.
✨ Features¶
- 🌐Ktor Network Monitoring: Real-time interception and logging of Ktor Client traffic.
- 📱Kotlin Multiplatform (KMP): Full support for Android, iOS, Desktop (JVM), Wasm, and JS.
- 🛠️Highly Configurable: Customize retention periods, content length limits, and notification behavior.
- 🔒Security First: Redact sensitive headers (e.g., Authorization).
- 📂Data Export: Save request/response details to local files for easier debugging or sharing.
- 🎨Rich Previews: Built-in viewers for JSON, XML, HTML, CSS, Form Data, Image (JPG, PNG, SVG, GIF, WEBP).
- 📡SSE & WebSockets: Track one-way streams (SSE) and bidirectional traffic (WebSockets).
- 🛡️Production Safe: No-Op version to ensure monitoring code is excluded from your production builds.
By default, KtorMonitor:
- android → isActive for
debugbuilds and disabled forreleasebuilds - ios → isActive for
debugbuilds and disabled forreleasebuilds - desktop -> isActive for all builds
- wasm → isActive for all builds
- js → isActive for all builds