nvchecker/docs/api.rst
2021-06-23 16:08:47 +08:00

27 lines
813 B
ReStructuredText

``nvchecker.api`` --- The source plugin API
===========================================
.. automodule:: nvchecker.api
:members:
:imported-members:
:undoc-members:
.. py:data:: session
:type: nvchecker.httpclient.base.BaseSession
The object to send out HTTP requests, respecting various options in the configuration entry.
.. automodule:: nvchecker.httpclient.base
:members: BaseSession, Response
:undoc-members:
.. autodata:: nvchecker.api.proxy
.. autodata:: nvchecker.api.user_agent
.. autodata:: nvchecker.api.tries
.. autodata:: nvchecker.api.verify_cert
.. py:data:: nvchecker.api.entry_waiter
:type: contextvars.ContextVar
This :class:`ContextVar <contextvars.ContextVar>` contains an :class:`EntryWaiter <nvchecker.api.EntryWaiter>` instance for waiting on other entries.