Public Member Functions | |
| None | __init__ (self, HomeAssistant hass, str method, str resource, str encoding, httpx.DigestAuth|tuple[str, str]|None auth, dict[str, str]|None headers, dict[str, str]|None params, str|None data, bool verify_ssl, str ssl_cipher_list, int timeout=DEFAULT_TIMEOUT) |
| None | async_update (self, bool log_errors=True) |
| str|None | data_without_xml (self) |
| None | set_payload (self, str payload) |
| None | set_url (self, str url) |
| str | url (self) |
Public Attributes | |
| data | |
| headers | |
| last_exception | |
Private Attributes | |
| _async_client | |
| _auth | |
| _encoding | |
| _hass | |
| _headers | |
| _method | |
| _params | |
| _request_data | |
| _resource | |
| _ssl_cipher_list | |
| _timeout | |
| _verify_ssl | |
| None homeassistant.components.rest.data.RestData.__init__ | ( | self, | |
| HomeAssistant | hass, | ||
| str | method, | ||
| str | resource, | ||
| str | encoding, | ||
| httpx.DigestAuth | tuple[str, str] | None | auth, | ||
| dict[str, str] | None | headers, | ||
| dict[str, str] | None | params, | ||
| str | None | data, | ||
| bool | verify_ssl, | ||
| str | ssl_cipher_list, | ||
| int | timeout = DEFAULT_TIMEOUT |
||
| ) |
| None homeassistant.components.rest.data.RestData.async_update | ( | self, | |
| bool | log_errors = True |
||
| ) |
| str | None homeassistant.components.rest.data.RestData.data_without_xml | ( | self | ) |
| None homeassistant.components.rest.data.RestData.set_payload | ( | self, | |
| str | payload | ||
| ) |
| None homeassistant.components.rest.data.RestData.set_url | ( | self, | |
| str | url | ||
| ) |
| str homeassistant.components.rest.data.RestData.url | ( | self | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |