aboutsummaryrefslogtreecommitdiffstats
path: root/docs/dev/models.rst
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2016-02-18 11:27:40 +0100
committerMaximilian Hils <git@maximilianhils.com>2016-02-18 11:27:40 +0100
commitbf024cd15320119e341cdf9bf0fd4d69df233c64 (patch)
tree05a6338d94c665421ae1eab07f14aed61b8bd2b1 /docs/dev/models.rst
parentf42af9061220ec0373e94e96b69434575f60281d (diff)
parent31ab3a231e540815009ffe5aeae108db2babd8a9 (diff)
downloadmitmproxy-bf024cd15320119e341cdf9bf0fd4d69df233c64.tar.gz
mitmproxy-bf024cd15320119e341cdf9bf0fd4d69df233c64.tar.bz2
mitmproxy-bf024cd15320119e341cdf9bf0fd4d69df233c64.zip
Merge branch 'master' of https://github.com/mitmproxy/mitmproxy
Diffstat (limited to 'docs/dev/models.rst')
-rw-r--r--docs/dev/models.rst59
1 files changed, 59 insertions, 0 deletions
diff --git a/docs/dev/models.rst b/docs/dev/models.rst
new file mode 100644
index 00000000..7a949941
--- /dev/null
+++ b/docs/dev/models.rst
@@ -0,0 +1,59 @@
+.. _models:
+
+Models
+======
+
+.. automodule:: netlib.http
+
+ .. autoclass:: Request
+
+ .. rubric:: Data
+ .. autoattribute:: first_line_format
+ .. autoattribute:: method
+ .. autoattribute:: scheme
+ .. autoattribute:: host
+ .. autoattribute:: port
+ .. autoattribute:: path
+ .. autoattribute:: http_version
+ .. autoattribute:: headers
+ .. autoattribute:: content
+ .. autoattribute:: timestamp_start
+ .. autoattribute:: timestamp_end
+ .. rubric:: Computed Properties and Convenience Methods
+ .. autoattribute:: text
+ .. autoattribute:: url
+ .. autoattribute:: pretty_host
+ .. autoattribute:: pretty_url
+ .. autoattribute:: query
+ .. autoattribute:: cookies
+ .. autoattribute:: path_components
+ .. automethod:: anticache
+ .. automethod:: anticomp
+ .. automethod:: constrain_encoding
+ .. autoattribute:: urlencoded_form
+ .. autoattribute:: multipart_form
+
+ .. autoclass:: Response
+
+ .. rubric:: Data
+ .. autoattribute:: http_version
+ .. autoattribute:: status_code
+ .. autoattribute:: reason
+ .. autoattribute:: headers
+ .. autoattribute:: content
+ .. autoattribute:: timestamp_start
+ .. autoattribute:: timestamp_end
+ .. rubric:: Computed Properties and Convenience Methods
+ .. autoattribute:: text
+ .. autoattribute:: cookies
+
+ .. autoclass:: Headers
+ :members:
+ :special-members:
+ :no-undoc-members:
+
+ .. autoclass:: decoded
+
+.. automodule:: mitmproxy.models
+ :show-inheritance:
+ :members: HTTPFlow, Error, ClientConnection, ServerConnection \ No newline at end of file