Home Assistant Unofficial Reference 2024.12.1
homeassistant.helpers.aiohttp_client.HassClientResponse Class Reference
Inheritance diagram for homeassistant.helpers.aiohttp_client.HassClientResponse:
[legend]
Collaboration diagram for homeassistant.helpers.aiohttp_client.HassClientResponse:
[legend]

Public Member Functions

Any json (self, *Any args, JSONDecoder loads=json_loads, **Any kwargs)
 

Detailed Description

aiohttp.ClientResponse with a json method that uses json_loads by default.

Definition at line 72 of file aiohttp_client.py.

Member Function Documentation

◆ json()

Any homeassistant.helpers.aiohttp_client.HassClientResponse.json (   self,
*Any  args,
JSONDecoder   loads = json_loads,
**Any  kwargs 
)
Send a json request and parse the json response.

Definition at line 75 of file aiohttp_client.py.


The documentation for this class was generated from the following file: