aboutsummaryrefslogtreecommitdiffstats
path: root/doc-src/scripts.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc-src/scripts.html')
-rw-r--r--doc-src/scripts.html40
1 files changed, 23 insertions, 17 deletions
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:
<table class="kvtable">
<tr>
- <th>libmproxy.flow.ScriptContext</th>
- <td>A handle for interacting with mitmproxy's global state.</td>
+ <th>libmproxy.flow.ClientConnection</th>
+ <td>Describes a client connection.</td>
</tr>
<tr>
- <th>libmproxy.flow.Flow</th>
- <td>A collection of objects representing a single HTTP transaction.</td>
+ <th>libmproxy.flow.ClientDisconnection</th>
+ <td>Describes a client disconnection.</td>
</tr>
<tr>
- <th>libmproxy.flow.Request</th>
- <td>An HTTP request.</td>
+ <th>libmproxy.flow.Error</th>
+ <td>A communications error.</td>
</tr>
<tr>
- <th>libmproxy.flow.Response</th>
- <td>An HTTP response.</td>
+ <th>libmproxy.flow.Flow</th>
+ <td>A collection of objects representing a single HTTP transaction.</td>
</tr>
<tr>
- <th>libmproxy.flow.Error</th>
- <td>A communications error.</td>
+ <th>libmproxy.flow.Headers</th>
+ <td>HTTP headers for a request or response.</td>
</tr>
<tr>
- <th>libmproxy.flow.ClientConnection</th>
- <td>Describes a client connection.</td>
+ <th>libmproxy.flow.ODict</th>
+
+ <td>A dictionary-like object for managing sets of key/value data. There
+ is also a variant called CaselessODict that ignores key case for some
+ calls.</td>
</tr>
<tr>
- <th>libmproxy.flow.ClientDisconnection</th>
- <td>Describes a client disconnection.</td>
+ <th>libmproxy.flow.Response</th>
+ <td>An HTTP response.</td>
</tr>
<tr>
- <th>libmproxy.flow.Headers</th>
- <td>HTTP headers for a request or response.</td>
+ <th>libmproxy.flow.Request</th>
+ <td>An HTTP request.</td>
+ </tr>
+ <tr>
+ <th>libmproxy.flow.ScriptContext</th>
+ <td>A handle for interacting with mitmproxy's global state.</td>
</tr>
</table>
-
The canonical API documentation is the code. You can view the API documentation
using pydoc (which is installed with Python by default), like this: