mitmproxy/docs/dev/models.rst

81 lines
2.2 KiB
ReStructuredText
Raw Normal View History

2015-09-03 22:45:47 +00:00
.. _models:
2016-04-11 21:13:48 +00:00
Datastructures
==============
.. automodule:: mitmproxy.models
:members: HTTPFlow, HTTPRequest, HTTPResponse
2015-09-03 22:45:47 +00:00
.. 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
2015-09-03 22:45:47 +00:00
.. automethod:: make
.. 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
2015-09-05 11:27:11 +00:00
.. autoclass:: Headers
:members:
:special-members:
2015-09-07 08:52:18 +00:00
:no-undoc-members:
2016-06-07 02:08:20 +00:00
.. automodule:: netlib.multidict
2016-05-19 05:50:45 +00:00
.. autoclass:: MultiDictView
.. automethod:: get_all
.. automethod:: set_all
.. automethod:: add
.. automethod:: insert
.. automethod:: keys
.. automethod:: values
.. automethod:: items
.. automethod:: to_dict
2016-06-07 02:08:20 +00:00
.. autoclass:: mitmproxy.models.Error
:show-inheritance:
2016-06-07 02:08:20 +00:00
.. autoclass:: mitmproxy.models.ServerConnection
:show-inheritance:
2016-06-07 02:08:20 +00:00
.. autoclass:: mitmproxy.models.ClientConnection
:show-inheritance: