Create a new MitmproxyManager
CaddyClient instance
Map of proxy names to MITMproxy instance configurations
Disable interception for a service (restore direct routing)
Service ID to disable interception for
Disable interception for all registered services
Enable interception for a service
Service ID to enable interception for
Enable options (proxy selection)
Enable interception for all registered services
Enable options (proxy selection)
Get list of available proxy instances
Get proxy instance configuration
Proxy name
Get list of registered service IDs
Get status of a specific service
Service ID
Service status or undefined
Get status of all registered services
Map of service ID to status
Check if interception is enabled for a service
Service ID to check
true if enabled
Register a service for potential interception
Service configuration
Unregister a service
Service ID to unregister
true if service was found and unregistered
MitmproxyManager - Simplified API for MITMproxy traffic interception
Example