Update README.md

This commit is contained in:
allfro 2012-07-23 21:08:05 -03:00
parent fa85b4689e
commit 60c0131376

View File

@ -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
------------------