The Session
and AsyncSession
are abstract classes that act as adapters to underlying HTTP client libraries. A session instance is used by Client
or AsyncClient
to perform all the HTTP requests to the Yandex.Disk API.
These interfaces can be implemented to add support for any HTTP library. For a concrete example, see the source code of any existing implementation (e.g. HTTPXSession
).
yadisk.Session
yadisk.Response
yadisk.AsyncSession
yadisk.AsyncResponse