minos.networks.requests.abc
Classes
Request interface. |
|
Response definition. |
Exceptions
Response Exception class. |
- class Request[source]
Bases:
ABC
Request interface.
- async content(**kwargs)[source]
Get the request content.
- Parameters
kwargs – Additional named arguments.
- Returns
The request content.
- Return type
- abstract property has_content: bool
Check if the request has content.
- Returns
True
if it has content orFalse
otherwise.
- class Response[source]
Bases:
object
Response definition.
- async content(**kwargs)[source]
Response content.
- Parameters
kwargs – Additional named arguments.
- Returns
A list of items.
- Return type