This repository has been archived on 2023-06-10. You can view files and clone it, but cannot push or open issues or pull requests.
homeassistant-config/deps/lib/python3.10/site-packages/pytapo/media_stream/response.py

24 lines
589 B
Python
Raw Permalink Normal View History

2023-02-11 18:37:07 +00:00
from typing import Mapping, Optional
class HttpMediaResponse:
def __init__(
self,
seq: Optional[int],
session: Optional[int],
headers: Mapping[str, str],
encrypted: bool,
mimetype: str,
ciphertext: Optional[bytes],
plaintext: bytes,
json_data,
):
self.seq = seq
self.session = session
self.headers = headers
self.encrypted = encrypted
self.mimetype = mimetype
self.ciphertext = ciphertext
self.plaintext = plaintext
self.json_data = json_data