Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.image.ImageStreamView Class Reference
Inheritance diagram for homeassistant.components.image.ImageStreamView:
[legend]
Collaboration diagram for homeassistant.components.image.ImageStreamView:
[legend]

Public Member Functions

web.StreamResponse handle (self, web.Request request, ImageEntity image_entity)
 
- Public Member Functions inherited from homeassistant.components.image.ImageView
None __init__ (self, EntityComponent[ImageEntity] component)
 
web.StreamResponse get (self, web.Request request, str entity_id)
 

Static Public Attributes

string name = "api:image:stream"
 
string url = "/api/image_proxy_stream/{entity_id}"
 
- Static Public Attributes inherited from homeassistant.components.image.ImageView
string name = "api:image:image"
 
bool requires_auth = False
 
string url = "/api/image_proxy/{entity_id}"
 

Additional Inherited Members

- Public Attributes inherited from homeassistant.components.image.ImageView
 component
 

Detailed Description

Image View to serve an multipart stream.

Definition at line 395 of file __init__.py.

Member Function Documentation

◆ handle()

web.StreamResponse homeassistant.components.image.ImageStreamView.handle (   self,
web.Request  request,
ImageEntity   image_entity 
)
Serve image stream.

Reimplemented from homeassistant.components.image.ImageView.

Definition at line 401 of file __init__.py.

Member Data Documentation

◆ name

string homeassistant.components.image.ImageStreamView.name = "api:image:stream"
static

Definition at line 399 of file __init__.py.

◆ url

string homeassistant.components.image.ImageStreamView.url = "/api/image_proxy_stream/{entity_id}"
static

Definition at line 398 of file __init__.py.


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