.. _api:


API
===

- Errors
    - `mitmproxy.flow.Error <#mitmproxy.flow.Error>`_
- HTTP
    - `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>`_


Errors
------

.. autoclass:: mitmproxy.flow.Error
    :inherited-members:

HTTP
----

.. autoclass:: mitmproxy.http.HTTPRequest
    :inherited-members:

.. autoclass:: mitmproxy.http.HTTPResponse
    :inherited-members:

.. autoclass:: mitmproxy.http.HTTPFlow
    :inherited-members:

Logging
--------

.. autoclass:: mitmproxy.log.Log
    :inherited-members:
.. autoclass:: mitmproxy.log.LogEntry
    :inherited-members:
