mirror of
https://github.com/internetarchive/warcprox.git
synced 2025-01-18 13:22:09 +01:00
Update README.md
This commit is contained in:
parent
fa85b4689e
commit
60c0131376
@ -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
|
||||
------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user