.. _api:


API
===

- Errors
    - `mitmproxy.models.flow.Error <#mitmproxy.models.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>`_
- Logging
    - `mitmproxy.controller.Log <#mitmproxy.controller.Log>`_
    - `mitmproxy.controller.LogEntry <#mitmproxy.controller.LogEntry>`_


Errors
------

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

HTTP
----

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

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

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

Logging
--------

.. autoclass:: mitmproxy.controller.Log
    :inherited-members:
