diff --git a/README.md b/README.md index 0829bc5..b7eae8b 100644 --- a/README.md +++ b/README.md @@ -78,6 +78,7 @@ another. The following is a simple code example of how to run the proxy with plugins: + ```python from miproxy.proxy import RequestInterceptorPlugin, ResponseInterceptorPlugin, AsyncMitmProxy class DebugInterceptor(RequestInterceptorPlugin, ResponseInterceptorPlugin): @@ -102,6 +103,7 @@ The following is a simple code example of how to run the proxy with plugins: proxy.serve_forever() except KeyboardInterrupt: proxy.server_close() + ``` Method Overloading ------------------