mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 18:18:25 +00:00
f90b4c2ff0
Many addons currently save options on configure(), either as individual options or sometimes by saving the entire options object. The current options should simply be available on the ctx object, simplifying state management for addons considerably.
8 lines
236 B
Python
8 lines
236 B
Python
import mitmproxy.master # noqa
|
|
import mitmproxy.log # noqa
|
|
import mitmproxy.options # noqa
|
|
|
|
master = None # type: "mitmproxy.master.Master"
|
|
log = None # type: "mitmproxy.log.Log"
|
|
options = None # type: "mitmproxy.options.Options"
|