mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-30 03:14:22 +00:00
Merge pull request #91 from termie/patch-1
fix some syntax / formatting in the docs
This commit is contained in:
commit
280dd94198
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
__mitmproxy__ has a powerful scripting API that allows you to modify flows
|
__mitmproxy__ has a powerful scripting API that allows you to modify flows
|
||||||
on-the-fly or rewrite previously saved flows locally.
|
on-the-fly or rewrite previously saved flows locally.
|
||||||
|
|
||||||
@ -22,13 +21,13 @@ response itself.
|
|||||||
Called once on startup, before any other events.
|
Called once on startup, before any other events.
|
||||||
|
|
||||||
|
|
||||||
###clientconnect(ScriptContext, ClientConnect)
|
### clientconnect(ScriptContext, ClientConnect)
|
||||||
|
|
||||||
Called when a client initiates a connection to the proxy. Note that
|
Called when a client initiates a connection to the proxy. Note that
|
||||||
a connection can correspond to multiple HTTP requests.
|
a connection can correspond to multiple HTTP requests.
|
||||||
|
|
||||||
|
|
||||||
###request(ScriptContext, Flow)
|
### request(ScriptContext, Flow)
|
||||||
|
|
||||||
Called when a client request has been received. The __Flow__ object is
|
Called when a client request has been received. The __Flow__ object is
|
||||||
guaranteed to have a non-None __request__ attribute.
|
guaranteed to have a non-None __request__ attribute.
|
||||||
|
Loading…
Reference in New Issue
Block a user