Home Assistant Unofficial Reference 2024.12.1
httpx_client.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.helpers.httpx_client.HassHttpXAsyncClient
 

Namespaces

 homeassistant.helpers.httpx_client
 

Functions

None homeassistant.helpers.httpx_client._async_register_async_client_shutdown (HomeAssistant hass, httpx.AsyncClient client, Callable[[], Coroutine[Any, Any, None]] original_aclose)
 
httpx.AsyncClient homeassistant.helpers.httpx_client.create_async_httpx_client (HomeAssistant hass, bool verify_ssl=True, bool auto_cleanup=True, SSLCipherList ssl_cipher_list=SSLCipherList.PYTHON_DEFAULT, **Any kwargs)
 
httpx.AsyncClient homeassistant.helpers.httpx_client.get_async_client (HomeAssistant hass, bool verify_ssl=True)
 

Variables

 homeassistant.helpers.httpx_client.DEFAULT_LIMITS = httpx.Limits(keepalive_expiry=KEEP_ALIVE_TIMEOUT)
 
int homeassistant.helpers.httpx_client.KEEP_ALIVE_TIMEOUT = 15
 
tuple homeassistant.helpers.httpx_client.SERVER_SOFTWARE
 
string homeassistant.helpers.httpx_client.USER_AGENT = "User-Agent"