mitmproxy/examples
Aldo Cortesi af1a4ffdcd Ditch the addon stdout wrapper
This results in a 30% improvement in our core request throughput.

Fixes #3102
2018-05-08 14:26:41 +12:00
..
addons events: document behaviour of done() more fully 2018-05-08 11:09:10 +12:00
complex Ditch the addon stdout wrapper 2018-05-08 14:26:41 +12:00
pathod format examples 2016-05-29 01:23:39 -07:00
simple Ditch the addon stdout wrapper 2018-05-08 14:26:41 +12:00
README.md organize examples 2016-11-21 02:28:10 +01:00

Mitmproxy Scripting API

Mitmproxy has a powerful scripting API that allows you to control almost any aspect of traffic being proxied. In fact, much of mitmproxys own core functionality is implemented using the exact same API exposed to scripters (see mitmproxy/addons).

This directory contains some examples of the scripting API. We recommend to start with the ones in simple/.

⚠️ If you are browsing this on GitHub, make sure to select the git tag matching your mitmproxy version.

Some inline scripts may require additional dependencies, which can be installed using pip install mitmproxy[examples].