Home Assistant Unofficial Reference 2024.12.1
aiohttp_client.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.helpers.aiohttp_client.HassClientResponse
 
class  homeassistant.helpers.aiohttp_client.HomeAssistantTCPConnector
 

Namespaces

 homeassistant.helpers.aiohttp_client
 

Functions

aiohttp.ClientSession homeassistant.helpers.aiohttp_client._async_create_clientsession (HomeAssistant hass, bool verify_ssl=True, Callable[[HomeAssistant, aiohttp.ClientSession], None]|None auto_cleanup_method=None, socket.AddressFamily family=socket.AF_UNSPEC, ssl_util.SSLCipherList ssl_cipher=ssl_util.SSLCipherList.PYTHON_DEFAULT, **Any kwargs)
 
aiohttp.BaseConnector homeassistant.helpers.aiohttp_client._async_get_connector (HomeAssistant hass, bool verify_ssl=True, socket.AddressFamily family=socket.AF_UNSPEC, ssl_util.SSLCipherList ssl_cipher=ssl_util.SSLCipherList.PYTHON_DEFAULT)
 
None homeassistant.helpers.aiohttp_client._async_register_clientsession_shutdown (HomeAssistant hass, aiohttp.ClientSession clientsession)
 
None homeassistant.helpers.aiohttp_client._async_register_default_clientsession_shutdown (HomeAssistant hass, aiohttp.ClientSession clientsession)
 
tuple[bool, socket.AddressFamily, ssl_util.SSLCipherList] homeassistant.helpers.aiohttp_client._make_key (bool verify_ssl=True, socket.AddressFamily family=socket.AF_UNSPEC, ssl_util.SSLCipherList ssl_cipher=ssl_util.SSLCipherList.PYTHON_DEFAULT)
 
web.StreamResponse homeassistant.helpers.aiohttp_client.async_aiohttp_proxy_stream (HomeAssistant hass, web.BaseRequest request, aiohttp.StreamReader stream, str|None content_type, int buffer_size=102400, int timeout=10)
 
web.StreamResponse|None homeassistant.helpers.aiohttp_client.async_aiohttp_proxy_web (HomeAssistant hass, web.BaseRequest request, Awaitable[aiohttp.ClientResponse] web_coro, int buffer_size=102400, int timeout=10)
 
aiohttp.ClientSession homeassistant.helpers.aiohttp_client.async_create_clientsession (HomeAssistant hass, bool verify_ssl=True, bool auto_cleanup=True, socket.AddressFamily family=socket.AF_UNSPEC, ssl_util.SSLCipherList ssl_cipher=ssl_util.SSLCipherList.PYTHON_DEFAULT, **Any kwargs)
 
aiohttp.ClientSession homeassistant.helpers.aiohttp_client.async_get_clientsession (HomeAssistant hass, bool verify_ssl=True, socket.AddressFamily family=socket.AF_UNSPEC, ssl_util.SSLCipherList ssl_cipher=ssl_util.SSLCipherList.PYTHON_DEFAULT)
 

Variables

tuple homeassistant.helpers.aiohttp_client.ENABLE_CLEANUP_CLOSED
 
int homeassistant.helpers.aiohttp_client.MAXIMUM_CONNECTIONS = 4096
 
int homeassistant.helpers.aiohttp_client.MAXIMUM_CONNECTIONS_PER_HOST = 100
 
tuple homeassistant.helpers.aiohttp_client.SERVER_SOFTWARE
 
string homeassistant.helpers.aiohttp_client.WARN_CLOSE_MSG = "closes the Home Assistant aiohttp session"