Classes | |
| class | MockPayloadWriter |
| class | MockRequest |
| class | MockStreamReader |
Functions | |
| dict[str, Any] | serialize_response (web.Response response) |
Variables | |
| _MOCK_PAYLOAD_WRITER = MockPayloadWriter() | |
Utilities to help with aiohttp.
| dict[str, Any] homeassistant.util.aiohttp.serialize_response | ( | web.Response | response | ) |
Serialize an aiohttp response to a dictionary.
Definition at line 107 of file aiohttp.py.
|
private |
Definition at line 41 of file aiohttp.py.