aboutsummaryrefslogtreecommitdiffstats
path: root/docs/scripting/api.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/scripting/api.rst')
-rw-r--r--docs/scripting/api.rst16
1 files changed, 8 insertions, 8 deletions
diff --git a/docs/scripting/api.rst b/docs/scripting/api.rst
index 59ef8d95..e82afef4 100644
--- a/docs/scripting/api.rst
+++ b/docs/scripting/api.rst
@@ -5,11 +5,11 @@ API
===
- Errors
- - `mitmproxy.models.flow.Error <#mitmproxy.models.flow.Error>`_
+ - `mitmproxy.flow.Error <#mitmproxy.flow.Error>`_
- HTTP
- - `mitmproxy.models.http.HTTPRequest <#mitmproxy.models.http.HTTPRequest>`_
- - `mitmproxy.models.http.HTTPResponse <#mitmproxy.models.http.HTTPResponse>`_
- - `mitmproxy.models.http.HTTPFlow <#mitmproxy.models.http.HTTPFlow>`_
+ - `mitmproxy.http.HTTPRequest <#mitmproxy.http.HTTPRequest>`_
+ - `mitmproxy.http.HTTPResponse <#mitmproxy.http.HTTPResponse>`_
+ - `mitmproxy.http.HTTPFlow <#mitmproxy.http.HTTPFlow>`_
- Logging
- `mitmproxy.log.Log <#mitmproxy.controller.Log>`_
- `mitmproxy.log.LogEntry <#mitmproxy.controller.LogEntry>`_
@@ -18,19 +18,19 @@ API
Errors
------
-.. autoclass:: mitmproxy.models.flow.Error
+.. autoclass:: mitmproxy.flow.Error
:inherited-members:
HTTP
----
-.. autoclass:: mitmproxy.models.http.HTTPRequest
+.. autoclass:: mitmproxy.http.HTTPRequest
:inherited-members:
-.. autoclass:: mitmproxy.models.http.HTTPResponse
+.. autoclass:: mitmproxy.http.HTTPResponse
:inherited-members:
-.. autoclass:: mitmproxy.models.http.HTTPFlow
+.. autoclass:: mitmproxy.http.HTTPFlow
:inherited-members:
Logging