From 4f38b3a9c0dbbdf4bcd5e48386f3282263e2b5da Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Wed, 22 Feb 2012 17:17:13 +1300 Subject: Documentation and screenshots. --- doc-src/scripts.html | 40 +++++++++++++++++++++++----------------- 1 file changed, 23 insertions(+), 17 deletions(-) (limited to 'doc-src/scripts.html') diff --git a/doc-src/scripts.html b/doc-src/scripts.html index f3df489d..bea8a103 100644 --- a/doc-src/scripts.html +++ b/doc-src/scripts.html @@ -63,40 +63,46 @@ The main classes you will deal with in writing mitmproxy scripts are: - - + + - - + + - - + + - - + + - - + + - - + + + - - + + - - + + + + + +
libmproxy.flow.ScriptContextA handle for interacting with mitmproxy's global state.libmproxy.flow.ClientConnectionDescribes a client connection.
libmproxy.flow.FlowA collection of objects representing a single HTTP transaction.libmproxy.flow.ClientDisconnectionDescribes a client disconnection.
libmproxy.flow.RequestAn HTTP request.libmproxy.flow.ErrorA communications error.
libmproxy.flow.ResponseAn HTTP response.libmproxy.flow.FlowA collection of objects representing a single HTTP transaction.
libmproxy.flow.ErrorA communications error.libmproxy.flow.HeadersHTTP headers for a request or response.
libmproxy.flow.ClientConnectionDescribes a client connection.libmproxy.flow.ODictA dictionary-like object for managing sets of key/value data. There + is also a variant called CaselessODict that ignores key case for some + calls.
libmproxy.flow.ClientDisconnectionDescribes a client disconnection.libmproxy.flow.ResponseAn HTTP response.
libmproxy.flow.HeadersHTTP headers for a request or response.libmproxy.flow.RequestAn HTTP request.
libmproxy.flow.ScriptContextA handle for interacting with mitmproxy's global state.
- The canonical API documentation is the code. You can view the API documentation using pydoc (which is installed with Python by default), like this: -- cgit v1.2.3