summaryrefslogtreecommitdiff
path: root/docs/api.rst
blob: 6a6c8497a211c7fa20af4cef316415041af8dcae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
.. Note: backend module docs are auto-generated with apidoc; the remaining modules are manually
   added here for more custom formatting.

API Reference
=============
This section covers all the public interfaces of requests-cache.

.. contents::
    :local:
    :depth: 2

Sessions
--------
.. Explicitly show inherited method docs on CachedSession instead of CachedMixin
.. autoclass:: requests_cache.session.CachedSession
    :members: send, request, cache_disabled, remove_expired_responses
    :show-inheritance:

.. autoclass:: requests_cache.session.CacheMixin

Patching
--------
.. automodule:: requests_cache.patcher
    :members:

Responses
---------
.. autoclass:: requests_cache.response.CachedResponse
    :members:
    :inherited-members:
    :show-inheritance:

.. autoclass:: requests_cache.response.CachedHTTPResponse
    :members:
    :inherited-members:
    :show-inheritance:

Cache Backends
--------------
.. Sources for this sub-package will be autogenerated by sphinx-apidoc

.. toctree::

    modules/requests_cache.backends