diff options
Diffstat (limited to 'docs/dev/models.rst')
-rw-r--r-- | docs/dev/models.rst | 58 |
1 files changed, 46 insertions, 12 deletions
diff --git a/docs/dev/models.rst b/docs/dev/models.rst index 9929e4b2..b09c8bae 100644 --- a/docs/dev/models.rst +++ b/docs/dev/models.rst @@ -3,23 +3,57 @@ Models ====== -.. warning:: - The documentation for models has not been converted to rst yet and **many attributes/features - are missing**. - Please read the source code instead. +.. automodule:: netlib.http -.. automodule:: libmproxy.models - :show-inheritance: - :members: - :undoc-members: + .. 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 -.. automodule:: netlib.http.semantics - :members: Request, Response - :undoc-members: + .. 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 - :show-inheritance: :members: :special-members: :no-undoc-members: + + .. autoclass:: decoded + +.. automodule:: libmproxy.models + :show-inheritance: + :members: HTTPFlow, Error, ClientConnection, ServerConnection
\ No newline at end of file |